Class: Gettc::SourceDirNotExist
- Inherits:
-
GenerateError
- Object
- Gettc::SourceDirNotExist
- 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 = "Source directory does not exist") ⇒ SourceDirNotExist
constructor
A new instance of SourceDirNotExist.
Constructor Details
#initialize(dir, message = "Source directory does not exist") ⇒ SourceDirNotExist
Returns a new instance of SourceDirNotExist.
24 25 26 27 |
# File 'lib/gettc/generate.rb', line 24 def initialize(dir, = "Source directory does not exist") @dir = dir super "#{}: (#{dir})" end |
Instance Attribute Details
#dir ⇒ Object
Returns the value of attribute dir.
22 23 24 |
# File 'lib/gettc/generate.rb', line 22 def dir @dir end |