Class: EmuCtl::Emulator
- Inherits:
-
Object
- Object
- EmuCtl::Emulator
- Defined in:
- lib/emu_ctl/model.rb
Instance Attribute Summary collapse
-
#api_lvl ⇒ Object
Returns the value of attribute api_lvl.
-
#os_name ⇒ Object
Returns the value of attribute os_name.
-
#qualifier ⇒ Object
Returns the value of attribute qualifier.
-
#sdk ⇒ Object
Returns the value of attribute sdk.
Instance Method Summary collapse
-
#initialize(qual, api_lvl, os_name, sdk) ⇒ Emulator
constructor
A new instance of Emulator.
- #to_s ⇒ Object
Constructor Details
#initialize(qual, api_lvl, os_name, sdk) ⇒ Emulator
Returns a new instance of Emulator.
45 46 47 48 49 50 |
# File 'lib/emu_ctl/model.rb', line 45 def initialize(qual, api_lvl, os_name, sdk) @qualifier = qual @api_lvl = api_lvl @os_name = os_name @sdk = sdk end |
Instance Attribute Details
#api_lvl ⇒ Object
Returns the value of attribute api_lvl.
43 44 45 |
# File 'lib/emu_ctl/model.rb', line 43 def api_lvl @api_lvl end |
#os_name ⇒ Object
Returns the value of attribute os_name.
43 44 45 |
# File 'lib/emu_ctl/model.rb', line 43 def os_name @os_name end |
#qualifier ⇒ Object
Returns the value of attribute qualifier.
43 44 45 |
# File 'lib/emu_ctl/model.rb', line 43 def qualifier @qualifier end |
#sdk ⇒ Object
Returns the value of attribute sdk.
43 44 45 |
# File 'lib/emu_ctl/model.rb', line 43 def sdk @sdk end |
Instance Method Details
#to_s ⇒ Object
52 53 54 |
# File 'lib/emu_ctl/model.rb', line 52 def to_s "#{qualifier}: Running #{os_name} on API Level #{api_lvl} with sdk #{sdk}" end |