Class: FSR::Cmd::API
Constant Summary
Constants inherited from Command
Instance Attribute Summary (collapse)
-
- (Object) arguments
readonly
Returns the value of attribute arguments.
-
- (Object) cmd_name
readonly
Returns the value of attribute cmd_name.
Instance Method Summary (collapse)
-
- (API) initialize(cmd, *args)
constructor
A new instance of API.
Methods inherited from Command
Constructor Details
- (API) initialize(cmd, *args)
A new instance of API
7 8 9 |
# File 'lib/fsr/cmd/api.rb', line 7 def initialize(cmd, *args) @cmd_name, @arguments = cmd, args end |
Instance Attribute Details
- (Object) arguments (readonly)
Returns the value of attribute arguments
5 6 7 |
# File 'lib/fsr/cmd/api.rb', line 5 def arguments @arguments end |
- (Object) cmd_name (readonly)
Returns the value of attribute cmd_name
5 6 7 |
# File 'lib/fsr/cmd/api.rb', line 5 def cmd_name @cmd_name end |