class Motion::Project::Config
Attributes
is_taking_screenshots[RW]
screenshot_callback[RW]
Public Instance Methods
after_screenshots(&block)
click to toggle source
# File lib/motion-screenshots.rb, line 28 def after_screenshots(&block) @screenshot_callback = block end
Also aliased as: manage_screenshots
before_screenshots(&block)
click to toggle source
# File lib/motion-screenshots.rb, line 22 def before_screenshots(&block) if is_taking_screenshots block.call end end