Class: TTY::Platform
- Inherits:
-
Object
- Object
- TTY::Platform
- Defined in:
- lib/branch_io_cli/core_ext/tty_platform.rb
Instance Method Summary collapse
Instance Method Details
#br_high_sierra? ⇒ Boolean
9 10 11 |
# File 'lib/branch_io_cli/core_ext/tty_platform.rb', line 9 def br_high_sierra? mac? && version.to_s == "17" end |
#br_sierra? ⇒ Boolean
5 6 7 |
# File 'lib/branch_io_cli/core_ext/tty_platform.rb', line 5 def br_sierra? mac? && version.to_s == "16" end |