dsl/liveblog.rb in livetext-0.8.22 vs dsl/liveblog.rb in livetext-0.8.23

- old
+ new

@@ -65,9 +65,21 @@ end end @body << "</ul>" end +def asset + @meta.assets ||= [] + @meta.assets += _args + STDERR.puts "Asset(s): #{@meta.assets}" +end + +def assets + @meta.assets ||= [] + @meta.assets += _body + STDERR.puts "Assets: #{_body.inspect}" +end + def finalize @meta.body = @body @meta end