Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Doc improvements

  • Loading branch information...
commit 09a4f7c1c1aa3cd6e6547b652cfc247b9b8438bf 1 parent a59a896
@RISCfuture authored
Showing with 3 additions and 3 deletions.
  1. +1 −1  README.textile
  2. +2 −2 lib/enum_type.rb
View
2  README.textile
@@ -42,4 +42,4 @@ class MyModel < ActiveRecord::Base
end
</code></pre>
-See the @enum_type@ method documentation for more information.
+See the {EnumType#enum_type} method documentation for more information.
View
4 lib/enum_type.rb
@@ -16,9 +16,9 @@ module EnumType
# @param [Symbol] field An enumerated field.
# @param [Hash] options A hash of options.
# @option options [true, false] :allow_nil (false) If @true@, a nil value
- # is allowed.
+ # is allowed.
# @option options [Array<String>] :values If given, restricts valid values
- # to those in the given array.
+ # to those in the given array.
#
# @example Enumerated field with restricted types
# enum_type :color, values: %w( red orange yellow green blue purple )
Please sign in to comment.
Something went wrong with that request. Please try again.