lib/rabbit/theme/applier.rb in rabbit-2.0.5 vs lib/rabbit/theme/applier.rb in rabbit-2.0.6
- old
+ new
@@ -393,10 +393,10 @@
def activate(name, &block)
canvas.activate(name, &block)
end
def font_families
- canvas.font_families.collect{|x| x.name}
+ canvas.font_families.collect {|family| family.name}
end
def find_font_family(target_name)
families = font_families.grep(/#{Regexp.escape(target_name)}/i)
return nil if families.empty?