Exception: Warp::Dir::Errors::StoreFormatError

Inherits:
Runtime
  • Object
show all
Defined in:
lib/warp/dir/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, line) ⇒ StoreFormatError

Returns a new instance of StoreFormatError.



9
10
11
12
# File 'lib/warp/dir/errors.rb', line 9

def initialize(msg, line)
  @line = line
  super msg
end

Instance Attribute Details

#lineObject (readonly)

Returns the value of attribute line.



8
9
10
# File 'lib/warp/dir/errors.rb', line 8

def line
  @line
end