Class: AppDelegate
- Inherits:
-
Object
- Object
- AppDelegate
- Defined in:
- app/app_delegate.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#image ⇒ Object
Returns the value of attribute image.
Instance Method Summary collapse
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
2 3 4 |
# File 'app/app_delegate.rb', line 2 def data @data end |
#image ⇒ Object
Returns the value of attribute image.
2 3 4 |
# File 'app/app_delegate.rb', line 2 def image @image end |
Instance Method Details
#application(application, didFinishLaunchingWithOptions: launchOptions) ⇒ Object
3 4 5 6 7 |
# File 'app/app_delegate.rb', line 3 def application(application, didFinishLaunchingWithOptions:launchOptions) self.image = UIImage.imageNamed("test") self.data = UIImagePNGRepresentation(self.image) true end |