Class: Spring::Client::Command
- Inherits:
-
Object
- Object
- Spring::Client::Command
- Defined in:
- lib/spring/client/command.rb
Instance Attribute Summary collapse
-
#args ⇒ Object
readonly
Returns the value of attribute args.
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(args) ⇒ Command
constructor
A new instance of Command.
Constructor Details
Instance Attribute Details
#args ⇒ Object (readonly)
Returns the value of attribute args.
10 11 12 |
# File 'lib/spring/client/command.rb', line 10 def args @args end |
#env ⇒ Object (readonly)
Returns the value of attribute env.
10 11 12 |
# File 'lib/spring/client/command.rb', line 10 def env @env end |
Class Method Details
.call(args) ⇒ Object
6 7 8 |
# File 'lib/spring/client/command.rb', line 6 def self.call(args) new(args).call end |