Permalink
Browse files

Fix Virtus.extended visibility

  • Loading branch information...
1 parent b5f27a5 commit 04f8567b3bfcb98ced1a12cf53283f435adbd184 @solnic committed Jun 8, 2012
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/virtus.rb
View
@@ -30,13 +30,14 @@ def self.included(object)
when Module then object.extend(ModuleExtensions)
end
end
+ private_class_method :included
+ # @api private
def self.extended(object)
object.extend(InstanceExtensions)
object.extend(InstanceMethods)
end
-
- private_class_method :included
+ private_class_method :extended
end # module Virtus

0 comments on commit 04f8567

Please sign in to comment.