lib/emu_ctl/model.rb in emu_ctl-0.0.2 vs lib/emu_ctl/model.rb in emu_ctl-0.0.3

- old
+ new

@@ -36,6 +36,22 @@ def to_s "#{@name}" end end + + class Emulator + attr_accessor(:qualifier, :api_lvl, :os_name, :sdk) + + def initialize(qual, api_lvl, os_name, sdk) + @qualifier = qual + @api_lvl = api_lvl + @os_name = os_name + @sdk = sdk + end + + def to_s + "#{qualifier}: Running #{os_name} on API Level #{api_lvl} with sdk #{sdk}" + end + + end end