Class: Object

Inherits:
BasicObject
Defined in:
lib/transmission-rss/core_ext/object.rb

Instance Method Summary collapse

Instance Method Details

#linux?Boolean

Returns:

  • (Boolean)


2
3
4
# File 'lib/transmission-rss/core_ext/object.rb', line 2

def linux?
  RUBY_PLATFORM.downcase.include?('linux')
end