lib/videojuicer/resource/property_registry.rb in vj-sdk-0.7.9 vs lib/videojuicer/resource/property_registry.rb in vj-sdk-0.7.10

- old
+ new

@@ -122,10 +122,10 @@ # attribute's actual type. def coerce_value(key, value) return value unless value klass = self.class.attributes[key][:class] - if value.is_a?(String) and value.any? + if value.is_a?(String) and !value.empty? # In-built types if klass.kind_of?(Videojuicer::Resource::Types::Base) return klass.new(value).dump end \ No newline at end of file