class EstormButton::Button
Public Class Methods
held()
click to toggle source
# File lib/estorm_button/button.rb, line 22 def self.held puts "button HELD: " end
led_mgr(cmd)
click to toggle source
# File lib/estorm_button/button.rb, line 17 def self.led_mgr(cmd) @@led.on cmd @@led.off end
tap()
click to toggle source
# File lib/estorm_button/button.rb, line 8 def self.tap puts "button TAPPED" end
test_flag()
click to toggle source
# File lib/estorm_button/button.rb, line 11 def self.test_flag true end
Public Instance Methods
bootup()
click to toggle source
# File lib/estorm_button/button.rb, line 14 def bootup puts " bootup script" end