lib/rouge/theme.rb in rouge-0.0.6 vs lib/rouge/theme.rb in rouge-0.0.7
- old
+ new
@@ -174,10 +174,10 @@
# styled.
def inflate_token(tok, &b)
return enum_for(:inflate_token, tok) unless block_given?
yield tok
- tok.sub_tokens.each_value do |st|
+ tok.sub_tokens.each do |(_, st)|
next if styles[st.name]
inflate_token(st, &b)
end
end