Exception: Buildr::Project::NoSuchProject

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/buildr/core/project.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ NoSuchProject

Returns a new instance of NoSuchProject.



197
198
199
200
# File 'lib/buildr/core/project.rb', line 197

def initialize(name)
  super "No such project #{name}"
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



196
197
198
# File 'lib/buildr/core/project.rb', line 196

def name
  @name
end