class InheritableOptions
Ruby on Rails 4.1.16
Since v3.0.20InheritableOptions provides a constructor to build an OrderedOptions hash inherited from another hash.
Use this if you already have some hash and you want to create a new one based on it.
h = ActiveSupport::InheritableOptions.new({ girl: 'Mary', boy: 'John' }) h.girl # => 'Mary' h.boy # => 'John'
Inherits from
Methods (defined here)
- # inheritable_copy
- self. new
Used by
Subclasses (1)
Methods (inherited)
From ActiveSupport::OrderedOptions (5)
- # []
- # []=
- # _get
- # method_missing
- # respond_to_missing?
From Hash (36)
- # assert_valid_keys
- # compact
- # compact!
- # deep_dup
- # deep_merge
- # deep_merge!
- # deep_stringify_keys
- # deep_stringify_keys!
- # deep_symbolize_keys
- # deep_symbolize_keys!
- # deep_transform_keys
- # deep_transform_keys!
- # except
- # except!
- # extract!
- # extractable_options?
- # nested_under_indifferent_access
- # reverse_merge
- # reverse_merge!
- # reverse_update
- # slice
- # slice!
- # stringify_keys
- # stringify_keys!
- # symbolize_keys
- # symbolize_keys!
- # to_options
- # to_options!
- # to_param
- # to_query
- # to_xml
- # transform_keys
- # transform_keys!
- # with_indifferent_access
- self. from_trusted_xml
- self. from_xml
From Object (22)
- # <
- # acts_like?
- # blank?
- # create_fixtures
- # deep_dup
- # destroy
- # duplicable?
- # html_safe?
- # in?
- # instance_values
- # instance_variable_names
- # presence
- # presence_in
- # present?
- # to_json_with_active_support_encoder
- # to_param
- # to_query
- # try
- # try!
- # unescape
- # with_options
- self. table_name_prefix