Exception: XmlSpec::MissingFile
- Defined in:
- lib/xml_spec/errors.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path) ⇒ MissingFile
constructor
A new instance of MissingFile.
- #to_s ⇒ Object
Constructor Details
#initialize(path) ⇒ MissingFile
Returns a new instance of MissingFile.
38 39 40 |
# File 'lib/xml_spec/errors.rb', line 38 def initialize(path) @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
36 37 38 |
# File 'lib/xml_spec/errors.rb', line 36 def path @path end |
Instance Method Details
#to_s ⇒ Object
42 43 44 |
# File 'lib/xml_spec/errors.rb', line 42 def to_s "No XML file at #{path}" end |