Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix incorrect example.

  • Loading branch information...
commit 67af97c4c1561f28801a89a4d2c1c97b419e9fa4 1 parent ea6a2b7
@r00k r00k authored fxn committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 activesupport/lib/active_support/ordered_options.rb
View
4 activesupport/lib/active_support/ordered_options.rb
@@ -2,13 +2,13 @@
# Usually key value pairs are handled something like this:
#
-# h = ActiveSupport::OrderedOptions.new
+# h = {}
# h[:boy] = 'John'
# h[:girl] = 'Mary'
# h[:boy] # => 'John'
# h[:girl] # => 'Mary'
#
-# Using <tt>OrderedOptions</tt> above code could be reduced to:
+# Using <tt>OrderedOptions</tt>, the above code could be reduced to:
#
# h = ActiveSupport::OrderedOptions.new
# h.boy = 'John'
Please sign in to comment.
Something went wrong with that request. Please try again.