lib/rouge/theme.rb in rouge-2.0.1 vs lib/rouge/theme.rb in rouge-2.0.2

- old
+ new

@@ -72,9 +72,17 @@ def self.render(opts={}, &b) new(opts).render(&b) end + def get_own_style(token) + self.class.get_own_style(token) + end + + def get_style(token) + self.class.get_style(token) + end + class << self def style(*tokens) style = tokens.last.is_a?(Hash) ? tokens.pop : {} tokens.each do |tok|