Exception: TinyClassifier::InvalidOutputDir
- Inherits:
-
TinyClassifierError
- Object
- StandardError
- TinyClassifierError
- TinyClassifier::InvalidOutputDir
- Defined in:
- lib/tiny-classifier/errors.rb
Instance Attribute Summary collapse
-
#output_dir ⇒ Object
readonly
Returns the value of attribute output_dir.
Instance Method Summary collapse
-
#initialize(output_dir) ⇒ InvalidOutputDir
constructor
A new instance of InvalidOutputDir.
- #message ⇒ Object
Constructor Details
#initialize(output_dir) ⇒ InvalidOutputDir
Returns a new instance of InvalidOutputDir.
96 97 98 |
# File 'lib/tiny-classifier/errors.rb', line 96 def initialize(output_dir) @output_dir = output_dir end |
Instance Attribute Details
#output_dir ⇒ Object (readonly)
Returns the value of attribute output_dir.
94 95 96 |
# File 'lib/tiny-classifier/errors.rb', line 94 def output_dir @output_dir end |
Instance Method Details
#message ⇒ Object
100 101 102 |
# File 'lib/tiny-classifier/errors.rb', line 100 def "#{@output_dir} is not available as the output directory." end |