Exception: Bijou::EvalError

Inherits:
Exception
  • Object
show all
Defined in:
lib/bijou/exception.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filename, cachename, cause) ⇒ EvalError

The cause is used to capture the text of the originating exeception.



33
34
35
36
37
# File 'lib/bijou/exception.rb', line 33

def initialize(filename, cachename, cause)
  @filename = filename
  @cachename = cachename
  @cause = cause
end

Instance Attribute Details

#cachenameObject (readonly)

Returns the value of attribute cachename.



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

def cachename
  @cachename
end

#causeObject (readonly)

Returns the value of attribute cause.



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

def cause
  @cause
end

#filenameObject (readonly)

Returns the value of attribute filename.



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

def filename
  @filename
end