Exception: Goat::DOMTools::InvalidBodyError
- Defined in:
- lib/goat/dom.rb
Instance Attribute Summary collapse
-
#body ⇒ Object
readonly
Returns the value of attribute body.
Instance Method Summary collapse
-
#initialize(body) ⇒ InvalidBodyError
constructor
A new instance of InvalidBodyError.
Constructor Details
#initialize(body) ⇒ InvalidBodyError
Returns a new instance of InvalidBodyError.
238 239 240 241 |
# File 'lib/goat/dom.rb', line 238 def initialize(body) super("Invalid body: #{body.inspect}") @body = body end |
Instance Attribute Details
#body ⇒ Object (readonly)
Returns the value of attribute body.
236 237 238 |
# File 'lib/goat/dom.rb', line 236 def body @body end |