lib/ronin/model/has_authors/has_authors.rb in ronin-1.0.0.rc1 vs lib/ronin/model/has_authors/has_authors.rb in ronin-1.0.0.rc2
- old
+ new
@@ -56,10 +56,10 @@
# @example
# author :name => 'Anonymous',
# :email => 'anon@example.com',
# :organization => 'Anonymous LLC'
#
- def author(attributes={})
+ def author(attributes)
self.authors.new(attributes)
end
end
end
end