Class: FSR::Cmd::Reload
Constant Summary
Constants inherited from Command
Instance Method Summary (collapse)
- - (Object) arguments
-
- (Reload) initialize(mod, args = {})
constructor
A new instance of Reload.
Methods inherited from Command
Constructor Details
- (Reload) initialize(mod, args = {})
A new instance of Reload
5 6 7 8 |
# File 'lib/fsr/cmd/reload.rb', line 5 def initialize(mod, args={}) @module = mod @force = "-f" if args[:force] end |
Instance Method Details
- (Object) arguments
10 11 12 |
# File 'lib/fsr/cmd/reload.rb', line 10 def arguments [@force, @module].compact end |