class Datacenter::Shell::CommandError
Attributes
command[R]
error[R]
Public Class Methods
new(command, error)
click to toggle source
# File lib/datacenter/shell/command_error.rb, line 7 def initialize(command, error) @command = command @error = error end
Public Instance Methods
message()
click to toggle source
# File lib/datacenter/shell/command_error.rb, line 12 def message "#{command}\n#{error}" end