Module: AllSeeingPi
- Defined in:
- lib/all_seeing_pi.rb,
lib/all_seeing_pi/golem.rb,
lib/all_seeing_pi/camera.rb,
lib/all_seeing_pi/version.rb,
lib/all_seeing_pi/uploader.rb,
lib/all_seeing_pi/configuration.rb
Defined Under Namespace
Classes: Camera, Configuration, Golem, Uploader
Constant Summary collapse
- VERSION =
"0.0.3"
Class Attribute Summary collapse
-
.config ⇒ Object
Returns the value of attribute config.
Class Method Summary collapse
Class Attribute Details
.config ⇒ Object
Returns the value of attribute config.
9 10 11 |
# File 'lib/all_seeing_pi.rb', line 9 def config @config end |
Class Method Details
.configure {|config| ... } ⇒ Object
16 17 18 19 |
# File 'lib/all_seeing_pi.rb', line 16 def self.configure self.config ||= Configuration.new yield(config) end |
.watch ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/all_seeing_pi.rb', line 21 def self.watch golem = AllSeeingPi::Golem.new loop do golem.spy end end |