lib/at.rb in at-0.1.0 vs lib/at.rb in at-0.1.1

- old
+ new

@@ -1,8 +1,11 @@ require 'pathname' +require 'active_support/concern' module At + extend ActiveSupport::Concern + VERSION ||= Pathname.new(__FILE__).dirname.join('..', 'VERSION').read class MethodToInstanceVariableProxy def initialize(parent) @parent = parent @@ -25,11 +28,13 @@ end end end end - def at - @_method_to_instance_variable_proxy ||= MethodToInstanceVariableProxy.new(self) + module InstanceMethods + def at + @_method_to_instance_variable_proxy ||= MethodToInstanceVariableProxy.new(self) + end end end require 'at/core_ext' \ No newline at end of file