Exception: Tetra::NoProjectDirectoryError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/tetra/project.rb

Overview

current directory is not a tetra project

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(directory) ⇒ NoProjectDirectoryError

Returns a new instance of NoProjectDirectoryError.



229
230
231
232
# File 'lib/tetra/project.rb', line 229

def initialize(directory)
  @directory = directory
  super("Not a tetra project directory: #{directory}")
end

Instance Attribute Details

#directoryObject (readonly)

Returns the value of attribute directory.



227
228
229
# File 'lib/tetra/project.rb', line 227

def directory
  @directory
end