Class: Kube::Helm::CommandTree::Result
- Inherits:
-
Struct
- Object
- Struct
- Kube::Helm::CommandTree::Result
- Defined in:
- lib/kube/helm/command_tree.rb
Instance Attribute Summary collapse
-
#commands ⇒ Object
Returns the value of attribute commands.
-
#errors ⇒ Object
Returns the value of attribute errors.
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#positional ⇒ Object
Returns the value of attribute positional.
-
#valid ⇒ Object
Returns the value of attribute valid.
Instance Method Summary collapse
Instance Attribute Details
#commands ⇒ Object
Returns the value of attribute commands
9 10 11 |
# File 'lib/kube/helm/command_tree.rb', line 9 def commands @commands end |
#errors ⇒ Object
Returns the value of attribute errors
9 10 11 |
# File 'lib/kube/helm/command_tree.rb', line 9 def errors @errors end |
#flags ⇒ Object
Returns the value of attribute flags
9 10 11 |
# File 'lib/kube/helm/command_tree.rb', line 9 def flags @flags end |
#positional ⇒ Object
Returns the value of attribute positional
9 10 11 |
# File 'lib/kube/helm/command_tree.rb', line 9 def positional @positional end |
#valid ⇒ Object
Returns the value of attribute valid
9 10 11 |
# File 'lib/kube/helm/command_tree.rb', line 9 def valid @valid end |
Instance Method Details
#to_s ⇒ Object
10 11 12 13 14 15 16 |
# File 'lib/kube/helm/command_tree.rb', line 10 def to_s parts = [] parts.concat(commands) parts.concat(positional) parts.concat(flags) parts.join(" ") end |