lib/card/content/chunk/view_stub.rb in card-mod-content-0.11.0 vs lib/card/content/chunk/view_stub.rb in card-mod-content-0.11.1
- old
+ new
@@ -26,10 +26,10 @@
def hex_to_bin string
string.scan(/../).map { |x| x.hex.chr }.join
end
def interpret_hash_values
- @stub_hash.keys.each do |key|
+ @stub_hash.each_key do |key|
send "interpret_#{key}"
end
end
def interpret_cast