lib/rouge/formatter.rb in rouge-2.1.1 vs lib/rouge/formatter.rb in rouge-2.2.0
- old
+ new
@@ -19,11 +19,11 @@
def self.find(tag)
REGISTRY[tag]
end
# Format a token stream. Delegates to {#format}.
- def self.format(tokens, opts={}, &b)
- new(opts).format(tokens, &b)
+ def self.format(tokens, *a, &b)
+ new(*a).format(tokens, &b)
end
def initialize(opts={})
# pass
end