dsl/liveblog.rb in livetext-0.8.23 vs dsl/liveblog.rb in livetext-0.8.24
- old
+ new
@@ -68,16 +68,16 @@
end
def asset
@meta.assets ||= []
@meta.assets += _args
- STDERR.puts "Asset(s): #{@meta.assets}"
+ STDERR.puts red("\n [DEBUG] ") + "Asset(s): #{@meta.assets}"
end
def assets
@meta.assets ||= []
@meta.assets += _body
- STDERR.puts "Assets: #{_body.inspect}"
+ STDERR.puts red("\n [DEBUG] ") + "Assets: #{_body.inspect}"
end
def finalize
@meta.body = @body
@meta