ruby/trema/port-status-delete.rb in trema-0.4.6 vs ruby/trema/port-status-delete.rb in trema-0.4.7

- old
+ new

@@ -44,11 +44,11 @@ # @option options [Port] :phy_port # a {Port} object describing the properties of the port. # # @return [PortStatusDelete] # - def initialize options - super options.merge( :reason => OFPPR_DELETE ) + def initialize(options) + super options.merge(:reason => OFPPR_DELETE) end end end