Module: MotionBlow
- Defined in:
- lib/motion-blow/version.rb,
lib/motion-blow/snapshot.rb
Constant Summary collapse
- VERSION =
'0.0.1'
Class Method Summary collapse
Class Method Details
.dump? ⇒ Boolean
4 5 6 |
# File 'lib/motion-blow/snapshot.rb', line 4 def dump? ENV['MOTION_BLOW_ENV'] == 'on' end |
.flush! ⇒ Object
12 13 14 |
# File 'lib/motion-blow/snapshot.rb', line 12 def flush! run( 'sim_quit.scpt' ) end |
.snap! ⇒ Object
8 9 10 |
# File 'lib/motion-blow/snapshot.rb', line 8 def snap! run( 'dumper.scpt' ) end |