lib/lolcommits/runner.rb in lolcommits-0.8.1 vs lib/lolcommits/runner.rb in lolcommits-0.9.0
- old
+ new
@@ -84,15 +84,15 @@
puts '*** Preserving this moment in history.' unless capture_stealth
self.snapshot_loc = config.raw_image(image_file_type)
self.main_image = config.main_image(sha, image_file_type)
capturer = Platform.capturer_class(animate?).new(
- :capture_device => capture_device,
- :capture_delay => capture_delay,
- :snapshot_location => snapshot_loc,
- :video_location => config.video_loc,
- :frames_location => config.frames_loc,
- :animated_duration => capture_animate
+ capture_device: capture_device,
+ capture_delay: capture_delay,
+ snapshot_location: snapshot_loc,
+ video_location: config.video_loc,
+ frames_location: config.frames_loc,
+ animated_duration: capture_animate
)
capturer.capture
end
def animate?