ruby/trema/desc-stats-reply.rb in trema-0.4.6 vs ruby/trema/desc-stats-reply.rb in trema-0.4.7
- old
+ new
@@ -14,11 +14,11 @@
# with this program; if not, write to the Free Software Foundation, Inc.,
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
#
-require "trema/stats-helper"
+require 'trema/stats-helper'
module Trema
class DescStatsReply < StatsHelper
FIELDS = %w(mfr_desc hw_desc sw_desc serial_num dp_desc )
@@ -59,10 +59,10 @@
# the human readable description of datapath.
#
# @return [DescStatsReply]
# an object that encapsulates the OFPST_STATS_REPLY(OFPST_DESC) OpenFlow message.
#
- def initialize options
+ def initialize(options)
super FIELDS, options
end
end
end