Exception: Greg::ExistingProjectError

Inherits:
Exception
  • Object
show all
Defined in:
lib/greg/exceptions.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dir) ⇒ ExistingProjectError

Returns a new instance of ExistingProjectError.



11
12
13
# File 'lib/greg/exceptions.rb', line 11

def initialize(dir)
  @dir = dir
end

Instance Attribute Details

#dirObject (readonly)

Returns the value of attribute dir.



10
11
12
# File 'lib/greg/exceptions.rb', line 10

def dir
  @dir
end