Class: Gettc::TargetDirNotExist
- Inherits:
-
GenerateError
- Object
- Gettc::TargetDirNotExist
- Defined in:
- lib/gettc/generate.rb
Instance Attribute Summary collapse
-
#dir ⇒ Object
Returns the value of attribute dir.
Instance Method Summary collapse
-
#initialize(dir, message = "Target directory does not exist") ⇒ TargetDirNotExist
constructor
A new instance of TargetDirNotExist.
Constructor Details
#initialize(dir, message = "Target directory does not exist") ⇒ TargetDirNotExist
Returns a new instance of TargetDirNotExist.
33 34 35 36 |
# File 'lib/gettc/generate.rb', line 33 def initialize(dir, = "Target directory does not exist") @dir = dir super "#{}: (#{dir})" end |
Instance Attribute Details
#dir ⇒ Object
Returns the value of attribute dir.
31 32 33 |
# File 'lib/gettc/generate.rb', line 31 def dir @dir end |