Exception: Fitting::Prefix::NotFound

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(msg, log) ⇒ NotFound

Returns a new instance of NotFound.



34
35
36
37
# File 'lib/fitting/prefix.rb', line 34

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

Instance Attribute Details

#logObject (readonly)

Returns the value of attribute log.



32
33
34
# File 'lib/fitting/prefix.rb', line 32

def log
  @log
end