diff options
Diffstat (limited to 'activesupport/lib/active_support/ordered_options.rb')
-rw-r--r-- | activesupport/lib/active_support/ordered_options.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/ordered_options.rb b/activesupport/lib/active_support/ordered_options.rb index b0584072c1..7fc2b45b51 100644 --- a/activesupport/lib/active_support/ordered_options.rb +++ b/activesupport/lib/active_support/ordered_options.rb @@ -5,16 +5,16 @@ require 'active_support/ordered_hash' # h = ActiveSupport::OrderedOptions.new # h[:boy] = 'John' # h[:girl] = 'Mary' -# h[:boy] #=> 'John' -# h[:girl] #=> 'Mary' +# h[:boy] # => 'John' +# h[:girl] # => 'Mary' # # Using <tt>OrderedOptions</tt> above code could be reduced to: # # h = ActiveSupport::OrderedOptions.new # h.boy = 'John' # h.girl = 'Mary' -# h.boy #=> 'John' -# h.girl #=> 'Mary' +# h.boy # => 'John' +# h.girl # => 'Mary' # module ActiveSupport #:nodoc: class OrderedOptions < OrderedHash |