lib/cheapredwine.rb in cheapredwine-0.4.3 vs lib/cheapredwine.rb in cheapredwine-0.4.4
- old
+ new
@@ -15,11 +15,11 @@
def image &block
create(&block).run!
end
- def create &block
- builder.instance_eval &block
+ def create
+ yield builder if block_given?
builder.font_file file.path
runner
end
def attrs