Class: WifiWand::BaseOs
- Inherits:
-
Struct
- Object
- Struct
- WifiWand::BaseOs
- Defined in:
- lib/wifi-wand/os/base_os.rb,
lib/wifi-wand/os/base_os.rb
Direct Known Subclasses
Defined Under Namespace
Classes: MethodNotImplementedError
Instance Attribute Summary collapse
-
#display_name ⇒ Object
Returns the value of attribute display_name.
-
#id ⇒ Object
Returns the value of attribute id.
Instance Method Summary collapse
Instance Attribute Details
#display_name ⇒ Object
Returns the value of attribute display_name
5 6 7 |
# File 'lib/wifi-wand/os/base_os.rb', line 5 def display_name @display_name end |
#id ⇒ Object
Returns the value of attribute id
5 6 7 |
# File 'lib/wifi-wand/os/base_os.rb', line 5 def id @id end |
Instance Method Details
#create_model(options) ⇒ Object
20 21 22 |
# File 'lib/wifi-wand/os/base_os.rb', line 20 def create_model() raise MethodNotImplementedError.new end |
#current_os_is_this_os? ⇒ Boolean
16 17 18 |
# File 'lib/wifi-wand/os/base_os.rb', line 16 def current_os_is_this_os? raise MethodNotImplementedError.new end |