Module: ProxyMgr::Platform
- Defined in:
- lib/proxymgr/platform.rb,
lib/proxymgr/platform/linux.rb
Defined Under Namespace
Modules: Linux Classes: UnsupportedPlatform
Class Method Summary collapse
Class Method Details
.method_missing(sym, *args) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/proxymgr/platform.rb', line 5 def self.method_missing(sym, *args) case RUBY_PLATFORM when /linux/ Platform::Linux.send(sym, *args) else fail UnsupportedPlatform "Your platform is not supported" end end |