Methods
- I
- N
Class Public methods
# File activesupport/lib/active_support/ordered_options.rb, line 46 46: def initialize(parent = nil) 47: if parent.kind_of?(OrderedOptions) 48: # use the faster _get when dealing with OrderedOptions 49: super() { |h,k| parent._get(k) } 50: elsif parent 51: super() { |h,k| parent[k] } 52: else 53: super() 54: end 55: end
Instance Public methods