Class: Device

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

Instance Method Summary collapse

Instance Method Details

#check_screenshots_existsObject



37
38
39
40
# File 'lib/motion-launchimages.rb', line 37

def check_screenshots_exists
  check_screenshot_exists(:portrait)
  check_screenshot_exists(:landscape) if landscape
end

#filepath(orientation) ⇒ Object



33
34
35
# File 'lib/motion-launchimages.rb', line 33

def filepath(orientation)
  "#{get_screenshot_path}#{filename(orientation)}"
end