lib/bulldog/processor/one_shot.rb in bulldog-0.0.1 vs lib/bulldog/processor/one_shot.rb in bulldog-0.0.2
- old
+ new
@@ -1,10 +1,10 @@
module Bulldog
module Processor
class OneShot < Base
def initialize(*args)
super
- @styles.clear
+ @styles = StyleSet.new
end
def process(*args, &block)
@style = nil
process_style(*args, &block)