lib/lbrt/space/dsl/context.rb in lbrt-0.1.1 vs lib/lbrt/space/dsl/context.rb in lbrt-0.1.3
- old
+ new
@@ -18,10 +18,10 @@
end
private
def template(name, &block)
- @templates[name] = block
+ @templates[name.to_s] = block
end
def space(name_or_id, &block)
if @result[name_or_id]
raise "Space `#{name_or_id}` is already defined"