Exception: Denv::InvalidFormatError

Inherits:
Error
  • Object
show all
Defined in:
lib/denv.rb

Instance Method Summary collapse

Constructor Details

#initialize(line, filename, lineno) ⇒ InvalidFormatError

Returns a new instance of InvalidFormatError.



14
15
16
# File 'lib/denv.rb', line 14

def initialize(line, filename, lineno)
  super("key and value must be separated by `=`: #{filename}:#{lineno}: #{line}")
end