Exception: Artisan::RecordNotFound

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/artisan/repository.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(base = nil) ⇒ RecordNotFound

Returns a new instance of RecordNotFound.



5
6
7
# File 'lib/artisan/repository.rb', line 5

def initialize(base = nil)
  @base = base
end

Instance Attribute Details

#baseObject (readonly)

Returns the value of attribute base.



3
4
5
# File 'lib/artisan/repository.rb', line 3

def base
  @base
end