reordered the argument order to Event.new

This commit is contained in:
2010-11-22 12:09:36 +00:00
parent 00131d5ed6
commit aaf98a8a62
2 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ module Redistat
attr_accessor :meta
attr_accessor :options
def initialize(scope, label = nil, date = nil, stats = {}, meta = {}, options = {}, is_new = true)
def initialize(scope, label = nil, date = nil, stats = {}, options = {}, meta = {}, is_new = true)
@options = default_options.merge(options)
@key = Key.new(scope, label, date, @options)
@stats = stats ||= {}