Method: Kibosh::Exceptions::Error#extend
- Defined in:
- lib/kibosh/exceptions.rb
#extend(response) ⇒ Object
15 16 17 18 19 20 21 22 |
# File 'lib/kibosh/exceptions.rb', line 15 def extend response response.extend @module if and !~ /^\s*$/ body = response.body document = body.document body.add_child( document.create_element "text" ).add_child(document.create_text_node ) end end |