Methods

Class/Module Index [+]

Quicksearch

Nanoc::Extra::Piper::Error

Public Class Methods

new(command, exit_code) click to toggle source
# File lib/nanoc/extra/piper.rb, line 10
def initialize(command, exit_code)
  @command   = command
  @exit_code = exit_code
end

Public Instance Methods

message() click to toggle source
# File lib/nanoc/extra/piper.rb, line 15
def message
  "command exited with a nonzero status code #{@exit_code} (command: #{@command.join(' ')})"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.