Class: Arpoon::Route::Entry
- Inherits:
-
Struct
- Object
- Struct
- Arpoon::Route::Entry
- Defined in:
- lib/arpoon/route.rb
Instance Attribute Summary collapse
-
#destination ⇒ Object
Returns the value of attribute destination.
-
#device ⇒ Object
Returns the value of attribute device.
-
#flags ⇒ Object
Returns the value of attribute flags.
-
#gateway ⇒ Object
Returns the value of attribute gateway.
-
#irrt ⇒ Object
Returns the value of attribute irrt.
-
#mask ⇒ Object
Returns the value of attribute mask.
-
#metric ⇒ Object
Returns the value of attribute metric.
-
#mtu ⇒ Object
Returns the value of attribute mtu.
-
#ref_count ⇒ Object
Returns the value of attribute ref_count.
-
#use ⇒ Object
Returns the value of attribute use.
-
#window ⇒ Object
Returns the value of attribute window.
Instance Method Summary collapse
Instance Attribute Details
#destination ⇒ Object
Returns the value of attribute destination
47 48 49 |
# File 'lib/arpoon/route.rb', line 47 def destination @destination end |
#device ⇒ Object
Returns the value of attribute device
47 48 49 |
# File 'lib/arpoon/route.rb', line 47 def device @device end |
#flags ⇒ Object
Returns the value of attribute flags
47 48 49 |
# File 'lib/arpoon/route.rb', line 47 def flags @flags end |
#gateway ⇒ Object
Returns the value of attribute gateway
47 48 49 |
# File 'lib/arpoon/route.rb', line 47 def gateway @gateway end |
#irrt ⇒ Object
Returns the value of attribute irrt
47 48 49 |
# File 'lib/arpoon/route.rb', line 47 def irrt @irrt end |
#mask ⇒ Object
Returns the value of attribute mask
47 48 49 |
# File 'lib/arpoon/route.rb', line 47 def mask @mask end |
#metric ⇒ Object
Returns the value of attribute metric
47 48 49 |
# File 'lib/arpoon/route.rb', line 47 def metric @metric end |
#mtu ⇒ Object
Returns the value of attribute mtu
47 48 49 |
# File 'lib/arpoon/route.rb', line 47 def mtu @mtu end |
#ref_count ⇒ Object
Returns the value of attribute ref_count
47 48 49 |
# File 'lib/arpoon/route.rb', line 47 def ref_count @ref_count end |
#use ⇒ Object
Returns the value of attribute use
47 48 49 |
# File 'lib/arpoon/route.rb', line 47 def use @use end |
#window ⇒ Object
Returns the value of attribute window
47 48 49 |
# File 'lib/arpoon/route.rb', line 47 def window @window end |
Instance Method Details
#default_gateway? ⇒ Boolean
90 91 |
# File 'lib/arpoon/route.rb', line 90 def default_gateway? end |
#metric? ⇒ Boolean
74 75 76 |
# File 'lib/arpoon/route.rb', line 74 def metric? super != '0' end |
#use? ⇒ Boolean
70 71 72 |
# File 'lib/arpoon/route.rb', line 70 def use? super != '0' end |