ruby/trema/send-out-port.rb in trema-0.2.8 vs ruby/trema/send-out-port.rb in trema-0.3.0

- old
+ new

@@ -72,12 +72,17 @@ check_port_number check_max_len end - ############################################################################## + def to_s + "SendOutPort: port=#{ @port_number }, max_len=#{ @max_len }" + end + + + ############################################################################ private - ############################################################################## + ############################################################################ def check_port_number if @port_number.nil? raise ArgumentError, "Port number is a mandatory option"