Class: Object
- Inherits:
- BasicObject
- Defined in:
- lib/transmission-rss/core_ext/Object.rb
Instance Method Summary collapse
Instance Method Details
#bsd? ⇒ Boolean
2 3 4 |
# File 'lib/transmission-rss/core_ext/Object.rb', line 2 def bsd? RUBY_PLATFORM.include?('bsd') end |
#linux? ⇒ Boolean
6 7 8 |
# File 'lib/transmission-rss/core_ext/Object.rb', line 6 def linux? RUBY_PLATFORM.downcase.include?('linux') end |