Exception: Stove::MetadataNotFound
- Defined in:
- lib/stove/error.rb
Instance Method Summary collapse
-
#initialize(filepath) ⇒ MetadataNotFound
constructor
A new instance of MetadataNotFound.
- #message ⇒ Object
Methods inherited from Error
Constructor Details
#initialize(filepath) ⇒ MetadataNotFound
Returns a new instance of MetadataNotFound.
24 25 26 |
# File 'lib/stove/error.rb', line 24 def initialize(filepath) @filepath = File.(filepath) rescue filepath end |
Instance Method Details
#message ⇒ Object
28 29 30 |
# File 'lib/stove/error.rb', line 28 def "No metadata.rb found at: '#{@filepath}'" end |