Class: CLI::Kit::Args::Parser::Node::Unparsed
- Inherits:
-
Node
- Object
- Node
- CLI::Kit::Args::Parser::Node::Unparsed
- Defined in:
- lib/cli/kit/args/parser/node.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
: Array.
Instance Method Summary collapse
-
#==(other) ⇒ Object
: (untyped other) -> bool.
-
#initialize(value) ⇒ Unparsed
constructor
: (Array value) -> void.
-
#inspect ⇒ Object
: -> String.
Constructor Details
Instance Attribute Details
#value ⇒ Object (readonly)
: Array
106 107 108 |
# File 'lib/cli/kit/args/parser/node.rb', line 106 def value @value end |
Instance Method Details
#==(other) ⇒ Object
: (untyped other) -> bool
120 121 122 |
# File 'lib/cli/kit/args/parser/node.rb', line 120 def ==(other) !!(super(other) && @value == other.value) end |
#inspect ⇒ Object
: -> String
115 116 117 |
# File 'lib/cli/kit/args/parser/node.rb', line 115 def inspect "#<#{self.class.name} #{@value.join(" ")}>" end |