client/hyalite/element.rb in hyalite-0.0.1 vs client/hyalite/element.rb in hyalite-0.0.2
- old
+ new
@@ -9,9 +9,9 @@
@owner = owner
@props = props
end
def inspect
- "<#{type} #{props.inspect} />"
+ "<#{type} #{props && props.inspect} />"
end
end
end