lib/laydown.rb in laydown-0.6.0 vs lib/laydown.rb in laydown-0.6.1
- old
+ new
@@ -17,15 +17,15 @@
:keywords => [],
:css => [],
:js => [],
:inline_js => [],
:head => [],
- :body_class => nil,
+ :body_class => [],
:body => :yield,
:ga_code => :@ga_code
}
- ARRAY_PROPS = [:keywords, :css, :js, :inline_js, :head]
+ ARRAY_PROPS = [:keywords, :css, :js, :inline_js, :head, :body_class]
def self.compile(template={})
template = DEFAULT_TEMPLATE.merge(template)