Class: Rubyfocus::Context
- Inherits:
-
RankedItem
- Object
- Item
- NamedItem
- RankedItem
- Rubyfocus::Context
- Includes:
- Parser
- Defined in:
- lib/rubyfocus/items/context.rb
Instance Attribute Summary collapse
-
#location ⇒ Object
Returns the value of attribute location.
Attributes inherited from RankedItem
Attributes inherited from NamedItem
Attributes inherited from Item
#added, #document, #id, #modified
Class Method Summary collapse
Instance Method Summary collapse
Methods included from Parser
Methods inherited from RankedItem
Methods inherited from NamedItem
Methods inherited from Item
#initialize, #inspect, #to_serial
Methods included from ConditionalExec
Methods included from IDRef
Constructor Details
This class inherits a constructor from Rubyfocus::Item
Instance Attribute Details
#location ⇒ Object
Returns the value of attribute location.
7 8 9 |
# File 'lib/rubyfocus/items/context.rb', line 7 def location @location end |
Class Method Details
.matches_node?(node) ⇒ Boolean
3 4 5 |
# File 'lib/rubyfocus/items/context.rb', line 3 def self.matches_node?(node) return (node.name == "context") end |