Class: Cisco::ShowInterface
- Defined in:
- lib/netutils/cli/cisco/showinterface.rb
Constant Summary
Constants inherited from FSM
Instance Attribute Summary collapse
-
#tunnel ⇒ Object
readonly
Returns the value of attribute tunnel.
Instance Method Summary collapse
- #done(l, m) ⇒ Object
- #init(l, m) ⇒ Object
-
#initialize ⇒ ShowInterface
constructor
A new instance of ShowInterface.
Methods inherited from Parser
Methods inherited from FSM
#add, #cb, #changeto, #state_name
Constructor Details
#initialize ⇒ ShowInterface
Returns a new instance of ShowInterface.
9 10 11 12 13 |
# File 'lib/netutils/cli/cisco/showinterface.rb', line 9 def initialize super() add('Init', :init) add('Done', :done) end |
Instance Attribute Details
#tunnel ⇒ Object (readonly)
Returns the value of attribute tunnel.
7 8 9 |
# File 'lib/netutils/cli/cisco/showinterface.rb', line 7 def tunnel @tunnel end |
Instance Method Details
#done(l, m) ⇒ Object
23 24 |
# File 'lib/netutils/cli/cisco/showinterface.rb', line 23 def done(l, m) end |