lib/fluent/factory.rb in fluent-0.3.0 vs lib/fluent/factory.rb in fluent-0.4.0

- old
+ new

@@ -8,10 +8,10 @@ # @return [Object] instance of the definition def on(definition, visit=false, &block) definition = get_object_for(definition) if definition.is_a? String return @active if @active.kind_of?(definition) - @active = definition.new(@browser, visit) + @active = definition.new(@driver, visit) block.call @active if block @active end \ No newline at end of file