lib/symbiont/trigger.rb in symbiont-ruby-0.5.0 vs lib/symbiont/trigger.rb in symbiont-ruby-0.6.0

- old
+ new

@@ -278,10 +278,10 @@ # @param object [Any] Extractable object # @return [Class] Singleton class of the passed object # # @api private # @sionce 0.5.0 - def __extract_singleton_object__(object) + def __extract_singleton_class__(object) # NOTE: `<<` approach is used cuz BasicObject does not support #singleton_class method. class << object; self; end end end