Class: NodeParamsExtractor
- Inherits:
-
Struct
- Object
- Struct
- NodeParamsExtractor
- Defined in:
- lib/src/extractor.rb
Instance Attribute Summary collapse
-
#node ⇒ Object
Returns the value of attribute node.
Instance Method Summary collapse
Instance Attribute Details
#node ⇒ Object
Returns the value of attribute node
46 47 48 |
# File 'lib/src/extractor.rb', line 46 def node @node end |
Instance Method Details
#extract ⇒ Object
47 48 49 |
# File 'lib/src/extractor.rb', line 47 def extract [node.path, *node.props.values_at(:in_parent, :path, :link, :attr)] end |