Class: Distribute::Command

Inherits:
Struct
  • Object
show all
Defined in:
lib/distribute/command.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



2
3
4
# File 'lib/distribute/command.rb', line 2

def command
  @command
end

Instance Method Details

#send!Object



3
4
5
# File 'lib/distribute/command.rb', line 3

def send!
  `#{command}`
end