Module: Cgpio
- Defined in:
- lib/cgpio.rb,
lib/cgpio/version.rb
Defined Under Namespace
Classes: Configuration, Gpio, RealGpio, VirtualGpio
Constant Summary collapse
- VERSION =
"0.1.1"
Class Attribute Summary collapse
-
.configuration ⇒ Object
Returns the value of attribute configuration.
Class Method Summary collapse
Class Attribute Details
.configuration ⇒ Object
Returns the value of attribute configuration.
10 11 12 |
# File 'lib/cgpio.rb', line 10 def configuration @configuration end |
Class Method Details
.configure {|configuration| ... } ⇒ Object
21 22 23 |
# File 'lib/cgpio.rb', line 21 def self.configure yield configuration end |
.reset ⇒ Object
17 18 19 |
# File 'lib/cgpio.rb', line 17 def self.reset @configuration = Configuration.new end |