Class: Baykit::BayServer::Docker::Trouble::Command

Inherits:
Object
  • Object
show all
Defined in:
lib/baykit/bayserver/docker/trouble.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#methodObject (readonly)

Returns the value of attribute method.



14
15
16
# File 'lib/baykit/bayserver/docker/trouble.rb', line 14

def method
  @method
end

#targetObject (readonly)

Returns the value of attribute target.



15
16
17
# File 'lib/baykit/bayserver/docker/trouble.rb', line 15

def target
  @target
end