Class: Omega2Gpio::Messaging
- Inherits:
-
Object
- Object
- Omega2Gpio::Messaging
- Defined in:
- lib/omega2_gpio/messaging.rb
Instance Method Summary collapse
Instance Method Details
#debug(message) ⇒ Object
4 5 6 |
# File 'lib/omega2_gpio/messaging.rb', line 4 def debug() puts if Omega2Gpio.configuration.messaging_level >= 2 end |
#warn(message) ⇒ Object
8 9 10 |
# File 'lib/omega2_gpio/messaging.rb', line 8 def warn() puts if Omega2Gpio.configuration.messaging_level >= 1 end |