Class: WifiWand::Platforms::Mac::Helper::Bundle::HelperSupportStatus
- Inherits:
-
Struct
- Object
- Struct
- WifiWand::Platforms::Mac::Helper::Bundle::HelperSupportStatus
- Defined in:
- lib/wifi_wand/platforms/mac/helper/bundle.rb
Instance Attribute Summary collapse
-
#macos_version ⇒ Object
Returns the value of attribute macos_version.
-
#parsed_version ⇒ Object
Returns the value of attribute parsed_version.
Instance Method Summary collapse
- #applicable? ⇒ Boolean
- #known? ⇒ Boolean
- #supported? ⇒ Boolean
- #unknown? ⇒ Boolean
- #unsupported? ⇒ Boolean
Instance Attribute Details
#macos_version ⇒ Object
Returns the value of attribute macos_version
50 51 52 |
# File 'lib/wifi_wand/platforms/mac/helper/bundle.rb', line 50 def macos_version @macos_version end |
#parsed_version ⇒ Object
Returns the value of attribute parsed_version
50 51 52 |
# File 'lib/wifi_wand/platforms/mac/helper/bundle.rb', line 50 def parsed_version @parsed_version end |
Instance Method Details
#applicable? ⇒ Boolean
63 |
# File 'lib/wifi_wand/platforms/mac/helper/bundle.rb', line 63 def applicable? = !unsupported? |
#known? ⇒ Boolean
51 |
# File 'lib/wifi_wand/platforms/mac/helper/bundle.rb', line 51 def known? = !!parsed_version |
#supported? ⇒ Boolean
53 54 55 |
# File 'lib/wifi_wand/platforms/mac/helper/bundle.rb', line 53 def supported? known? && parsed_version >= MINIMUM_HELPER_VERSION end |
#unknown? ⇒ Boolean
61 |
# File 'lib/wifi_wand/platforms/mac/helper/bundle.rb', line 61 def unknown? = !known? |
#unsupported? ⇒ Boolean
57 58 59 |
# File 'lib/wifi_wand/platforms/mac/helper/bundle.rb', line 57 def unsupported? known? && !supported? end |