Module: Hoick::Command::PayloadOptions

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

Instance Method Summary collapse

Instance Method Details

#payloadObject



73
74
75
76
77
78
79
# File 'lib/hoick/command.rb', line 73

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