Class: Baykit::BayServer::Docker::Trouble::Command
- Inherits:
-
Object
- Object
- Baykit::BayServer::Docker::Trouble::Command
- Defined in:
- lib/baykit/bayserver/docker/trouble.rb
Instance Attribute Summary collapse
-
#method ⇒ Object
readonly
Returns the value of attribute method.
-
#target ⇒ Object
readonly
Returns the value of attribute target.
Instance Method Summary collapse
-
#initialize(method, target) ⇒ Command
constructor
A new instance of Command.
Constructor Details
#initialize(method, target) ⇒ Command
Returns a new instance of Command.
17 18 19 20 |
# File 'lib/baykit/bayserver/docker/trouble.rb', line 17 def initialize(method, target) @method = method @target = target end |
Instance Attribute Details
#method ⇒ Object (readonly)
Returns the value of attribute method.
14 15 16 |
# File 'lib/baykit/bayserver/docker/trouble.rb', line 14 def method @method end |
#target ⇒ Object (readonly)
Returns the value of attribute target.
15 16 17 |
# File 'lib/baykit/bayserver/docker/trouble.rb', line 15 def target @target end |