Exception: Ymodel::SourceFileNotFound

Inherits:
YmodelError
  • Object
show all
Defined in:
lib/ymodel/errors.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = nil, model = nil) ⇒ SourceFileNotFound

Returns a new instance of SourceFileNotFound.



13
14
15
16
17
# File 'lib/ymodel/errors.rb', line 13

def initialize(message = nil, model = nil)
  @model = model

  super(message)
end

Instance Attribute Details

#modelObject (readonly)

Returns the value of attribute model.



11
12
13
# File 'lib/ymodel/errors.rb', line 11

def model
  @model
end