lib/bulldog/processor/base.rb in bulldog-0.0.2 vs lib/bulldog/processor/base.rb in bulldog-0.0.3

- old
+ new

@@ -59,15 +59,15 @@ # each style. # # #style will be set to the current style each time the block is # called. # - def process(*args, &block) + def process(&block) return if styles.empty? styles.each do |style| @style = style begin - process_style(*args, &block) + process_style(&block) ensure @style = nil end end end