Module: Hoick::Command::PayloadOptions

Extended by:
Clamp::Option::Declaration
Defined in:
lib/hoick/command.rb

Instance Method Summary collapse

Instance Method Details

#payloadObject



55
56
57
58
59
60
61
# File 'lib/hoick/command.rb', line 55

def payload
  if file
    File.read(file)
  else
    $stdin.read
  end
end