lib/tmdb_party/attributes.rb in maddox-tmdb_party-0.2.1 vs lib/tmdb_party/attributes.rb in maddox-tmdb_party-0.3.0

- old
+ new

@@ -43,9 +43,10 @@ @loaded end private def decode_raw_attribute(value, type) + return nil unless value type.respond_to?(:parse) ? type.parse(value) : value end end end end \ No newline at end of file