Class: Frontier::Shell
- Inherits:
-
Object
- Object
- Frontier::Shell
- Defined in:
- lib/frontier/shell.rb
Instance Method Summary collapse
-
#initialize(host = 'localhost', port = 22) ⇒ Shell
constructor
A new instance of Shell.
- #method_missing(name, *args) ⇒ Object
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args) ⇒ Object
10 11 12 |
# File 'lib/frontier/shell.rb', line 10 def method_missing(name, *args) return @channel.submit({ :name => name, :args => args }) end |