Permalink
Browse files

A couple tiny doc fixes.

Fixed example for Virtus::ClassMethods#attribute_set.
  • Loading branch information...
1 parent 2698dd3 commit 2ef6c518ad209271f5c5415284f19e0e7dc1582d @emmanuel emmanuel committed Jul 1, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/virtus/class_methods.rb
  2. +1 −1 lib/virtus/module_extensions.rb
@@ -31,7 +31,7 @@ def self.extended(descendant)
# attribute :age, Integer
# end
#
- # User.attributes # =>
+ # User.attribute_set # =>
#
# TODO: implement inspect so the output is not cluttered - solnic
#
@@ -66,5 +66,5 @@ def define_attributes(object)
end
end
- end # class ModuleExtensions
+ end # module ModuleExtensions
end # module Virtus

0 comments on commit 2ef6c51

Please sign in to comment.