Exception: Dimples::Errors::Error

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dimples/errors.rb

Direct Known Subclasses

PublishingError, RenderingError

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file, message) ⇒ Error

Returns a new instance of Error.



6
7
8
9
# File 'lib/dimples/errors.rb', line 6

def initialize(file, message)
  @file = file
  super(message)
end

Instance Attribute Details

#fileObject (readonly)

Returns the value of attribute file.



4
5
6
# File 'lib/dimples/errors.rb', line 4

def file
  @file
end