secrets

secrets() Instance Public methods Returns secrets added to config/secrets.yml. Example: development: secret_key_base: 836fa3665997a860728bcb9e9a1e704d427cfc920e79d847d79c8a9a907b9e965defa4154b2b86bdec6930adbe33f21364523a6f6ce363865724549fdfc08553 test: secret_key_base: 5a37811464e7d378488b0f073e2193b093682e4e21f5d6f3ae0a4e1781e61a351fdc878a843424e81c73fb484a40d23f92c8dafac4870e74ede6e5e174423010 production: secret_key_base: <%= ENV["SECRET_KEY_BASE"] %> namespace: my_

new

new(v, name) Class Public methods

pretty_print

pretty_print(q) Instance Public methods A default pretty printing method for general objects. It calls pretty_print_instance_variables to list instance variables. If self has a customized (redefined) inspect method, the result of self.inspect is used but it obviously has no line break hints. This module provides predefined pretty_print methods for some of the most commonly used built-in classes for convenience.

selection_set

selection_set(first, last) Instance Public methods

shape_bounds

shape_bounds(kind=nil) Instance Public methods

upper_bound

upper_bound() Instance Public methods

add_option

add_option(*opts) Instance Public methods Add a command-line option and handler to the command. See OptionParser#make_switch for an explanation of opts. handler will be called with two values, the value of the argument and the options hash. If the first argument of #add_option is a Symbol, it's used to group options in output. See `gem help list` for an example.

delete 2

delete() Instance Public methods

dir

dir() Instance Public methods Alias for: gem

regular_writer

regular_writer(key, value) Instance Public methods Alias for: []=