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