Permalink
Browse files

Be nice, call super.

  • Loading branch information...
1 parent 2ef6c51 commit 167e3ee84180fbd808bef0459880e259b34dd31a @emmanuel emmanuel committed Jul 1, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/virtus/extensions.rb
View
@@ -13,6 +13,7 @@ module Extensions
#
# @api private
def self.extended(object)
+ super
object.extend(InstanceMethods)
object.instance_eval do
@virtus_attributes_accessor_module = AttributesAccessor.new(object.class.inspect)

0 comments on commit 167e3ee

Please sign in to comment.