Skip to content

Commit

Permalink
A couple tiny doc fixes.
Browse files Browse the repository at this point in the history
Fixed example for Virtus::ClassMethods#attribute_set.
  • Loading branch information
emmanuel committed Jul 1, 2012
1 parent 2698dd3 commit 2ef6c51
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/virtus/class_methods.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down
2 changes: 1 addition & 1 deletion lib/virtus/module_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.