Class: Trema::SetEthAddr Abstract
Overview
This class is abstract.
The base class of SetEthSrcAddr and SetEthDstAddr action.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#mac_address ⇒ Trema::Mac
readonly
The object that holds #mac_address‘s internal representation.
Instance Method Summary collapse
Instance Attribute Details
#mac_address ⇒ Trema::Mac (readonly)
Returns the object that holds #mac_address‘s internal representation.
32 33 34 |
# File 'ruby/trema/set-eth-addr.rb', line 32 def mac_address @mac_address end |
Instance Method Details
#to_s ⇒ Object
43 44 45 |
# File 'ruby/trema/set-eth-addr.rb', line 43 def to_s "#{ self.class.to_s }: mac_address=#{ @mac_address }" end |