There was an error while loading. Please reload this page.
#WORK IN PROGRESS
orientation is an instance method
####Two orientation instance methods are defined
landscape is a method that changes orientation to landscape mode
landscape
portrait is a method that changes orientation to portrait mode
portrait
####Usage
Note : It is a good practice to use instance method inside a DSL as below
def device_landscape landscape end def device_portrait portrait end