lib/teacup-ios/handler.rb in teacup-2.1.13 vs lib/teacup-ios/handler.rb in teacup-2.1.14
- old
+ new
@@ -1,10 +1,10 @@
module Teacup
module_function
def apply_method(target, assign, setter, value)
if assign and target.respond_to?(assign)
- NSLog "Setting #{key} = #{value.inspect}" if target.respond_to? :debug and target.debug
+ NSLog "Setting #{setter} = #{value.inspect}" if target.respond_to? :debug and target.debug
target.send(assign, value)
elsif target.respondsToSelector(setter)
NSLog "Calling target.#{setter}(#{value.inspect})" if target.respond_to? :debug and target.debug
target.send(setter, value)
elsif target.is_a?(self.AppearanceClass)
\ No newline at end of file