Class: LazyGraph::PathParser::PathGroup
- Inherits:
-
Struct
- Object
- Struct
- LazyGraph::PathParser::PathGroup
- Defined in:
- lib/lazy_graph/path_parser/path_group.rb
Overview
Represents a group of paths with a list of options, which must all be resolved.
Instance Attribute Summary collapse
-
#options ⇒ Object
Returns the value of attribute options.
Instance Method Summary collapse
Instance Attribute Details
permalink #options ⇒ Object
Returns the value of attribute options
6 7 8 |
# File 'lib/lazy_graph/path_parser/path_group.rb', line 6 def @options end |
Instance Method Details
permalink #==(other) ⇒ Object
[View source]
11 12 13 14 15 |
# File 'lib/lazy_graph/path_parser/path_group.rb', line 11 def ==(other) return == other if other.is_a?(Array) super end |
permalink #index? ⇒ Boolean
7 8 9 |
# File 'lib/lazy_graph/path_parser/path_group.rb', line 7 def index? @index ||= .all?(&:index?) end |