Exception: TomDoc::InvalidTomDoc
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- TomDoc::InvalidTomDoc
- Defined in:
- lib/tomdoc/tomdoc.rb
Instance Method Summary collapse
-
#initialize(doc) ⇒ InvalidTomDoc
constructor
A new instance of InvalidTomDoc.
- #message ⇒ Object
- #to_s ⇒ Object
Constructor Details
#initialize(doc) ⇒ InvalidTomDoc
Returns a new instance of InvalidTomDoc.
3 4 5 |
# File 'lib/tomdoc/tomdoc.rb', line 3 def initialize(doc) @doc = doc end |
Instance Method Details
#message ⇒ Object
7 8 9 |
# File 'lib/tomdoc/tomdoc.rb', line 7 def @doc end |
#to_s ⇒ Object
11 12 13 |
# File 'lib/tomdoc/tomdoc.rb', line 11 def to_s @doc end |