Class: Twilio::TwiML::Comment

Inherits:
LeafNode
  • Object
show all
Defined in:
lib/twilio-ruby/twiml/twiml.rb

Instance Method Summary collapse

Methods inherited from LeafNode

#initialize

Constructor Details

This class inherits a constructor from Twilio::TwiML::LeafNode

Instance Method Details

#xml(document) ⇒ Object


18
19
20
# File 'lib/twilio-ruby/twiml/twiml.rb', line 18

def xml(document)
  Nokogiri::XML::Comment.new(document, @content)
end