class WKInterfaceObject
Public Class Methods
method_added(name)
click to toggle source
# File lib/project/watch.rb, line 32 def self.method_added(name) if self.respond_to?(:method_added_accessibility) method_added_accessibility_Watch(name) end return if name=~/=$/ attributes=Accessibility::Watch_Attributes return unless attributes.flatten.grep(%r{name.to_sym}) if attributes.has_key?(name) ruby=name ios=attributes[name] define_method(ios) {self.send(ruby)} else ios=name ruby=attributes.rassoc(name).first define_method(ruby) { self.send(ios)} end end
Public Instance Methods
accessibility_traits=(traits)
click to toggle source
# File lib/project/watch.rb, line 24 def accessibility_traits=(traits) self.accessibility_traits=traits end
inspect()
click to toggle source
# File lib/project/watch.rb, line 5 def inspect self.accessibility_label end