Exception: Jhead::JheadError

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/jhead.rb

Instance Attribute Summary (collapse)

Instance Method Summary (collapse)

Constructor Details

- (JheadError) initialize(command = nil)

A new instance of JheadError



30
31
32
# File 'lib/jhead.rb', line 30

def initialize(command = nil)
  @command = command
end

Instance Attribute Details

- (Object) command (readonly)

Returns the value of attribute command



28
29
30
# File 'lib/jhead.rb', line 28

def command
  @command
end