Module: SCXML::XPath

Included in:
Document, Element
Defined in:
lib/scxml/xpath.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#content_rangeObject (readonly)

Returns the value of attribute content_range.



4
5
6
# File 'lib/scxml/xpath.rb', line 4

def content_range
  @content_range
end

#stringObject (readonly)

Returns the value of attribute string.



4
5
6
# File 'lib/scxml/xpath.rb', line 4

def string
  @string
end

Instance Method Details

#contentObject



6
7
8
# File 'lib/scxml/xpath.rb', line 6

def content
	self.string[self.content_range]
end