Class: Motion::Project::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/motion-screenshots.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#screenshot_callbackObject

Returns the value of attribute screenshot_callback.



16
17
18
# File 'lib/motion-screenshots.rb', line 16

def screenshot_callback
  @screenshot_callback
end

Instance Method Details

#manage_screenshots(&block) ⇒ Object



20
21
22
# File 'lib/motion-screenshots.rb', line 20

def manage_screenshots(&block)
  @screenshot_callback = block
end