Method: Sfp::Module::Shell#initialize
- Defined in:
- lib/sfpagent/module.rb
#initialize(metadata) ⇒ Shell
Returns a new instance of Shell.
173 174 175 176 177 178 179 |
# File 'lib/sfpagent/module.rb', line 173 def initialize() ### set module's home directory @home = [:home] ### set main shell command @main = @home + '/main' end |