module ProMotion::Support
Public Instance Methods
app()
click to toggle source
# File lib/ProMotion/support/support.rb, line 4 def app UIApplication.sharedApplication end
app_delegate()
click to toggle source
# File lib/ProMotion/support/support.rb, line 8 def app_delegate UIApplication.sharedApplication.delegate end
app_window()
click to toggle source
# File lib/ProMotion/support/support.rb, line 12 def app_window UIApplication.sharedApplication.delegate.window end
try(method, *args)
click to toggle source
# File lib/ProMotion/support/support.rb, line 16 def try(method, *args) send(method, *args) if respond_to?(method) end