Class: WifiWand::ImaginaryOs
- Defined in:
- lib/wifi-wand/os/imaginary_os.rb
Instance Attribute Summary
Attributes inherited from BaseOs
Instance Method Summary collapse
- #create_model(options) ⇒ Object
- #current_os_is_this_os? ⇒ Boolean
-
#initialize ⇒ ImaginaryOs
constructor
A new instance of ImaginaryOs.
Constructor Details
#initialize ⇒ ImaginaryOs
Returns a new instance of ImaginaryOs.
10 11 12 |
# File 'lib/wifi-wand/os/imaginary_os.rb', line 10 def initialize() super(:imaginary, 'Imaginary OS') end |
Instance Method Details
#create_model(options) ⇒ Object
18 19 20 |
# File 'lib/wifi-wand/os/imaginary_os.rb', line 18 def create_model() raise "I was only kidding. This class is imaginary." end |
#current_os_is_this_os? ⇒ Boolean
14 15 16 |
# File 'lib/wifi-wand/os/imaginary_os.rb', line 14 def current_os_is_this_os? false end |