lib/ahora/representation.rb in ahora-0.2.0 vs lib/ahora/representation.rb in ahora-0.2.1
- old
+ new
@@ -79,10 +79,10 @@
extend Definition
def initialize(doc_or_atts = {})
if doc_or_atts.is_a? Hash
- super(nil)
+ super("")
doc_or_atts.each do |key, val|
send("#{key}=", val)
end
else
doc = doc_or_atts