Class: Trema::SetIpAddr Abstract
Overview
This class is abstract.
The base class of SetIpSrcAddr and SetIpDstAddr action.
Direct Known Subclasses
Instance Attribute Summary collapse
-
#ip_address ⇒ IPAddr
readonly
The object that holds #ip_address‘s internal representation.
Instance Method Summary collapse
Instance Attribute Details
#ip_address ⇒ IPAddr (readonly)
Returns the object that holds #ip_address‘s internal representation.
29 30 31 |
# File 'ruby/trema/set-ip-addr.rb', line 29 def ip_address @ip_address end |
Instance Method Details
#to_s ⇒ Object
43 44 45 |
# File 'ruby/trema/set-ip-addr.rb', line 43 def to_s "#{ self.class.to_s }: ip_address=#{ @ip_address }" end |