Permalink
Browse files

Doc improvements

  • Loading branch information...
RISCfuture committed Oct 30, 2010
1 parent a59a896 commit 09a4f7c1c1aa3cd6e6547b652cfc247b9b8438bf
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.textile
  2. +2 −2 lib/enum_type.rb
View
@@ -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
@@ -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 )

0 comments on commit 09a4f7c

Please sign in to comment.