Module: Peachy::ChildlessProxyWithAttributes

Defined in:
lib/peachy/childless_proxy_with_attributes.rb

Instance Method Summary collapse

Instance Method Details

#valueObject

Returns the text content of the XML node encapsulated by this instance.



4
5
6
7
# File 'lib/peachy/childless_proxy_with_attributes.rb', line 4

def value
  acts_as_only_child
  node.content
end