lib/representable/populator.rb in representable-2.2.3 vs lib/representable/populator.rb in representable-2.3.0
- old
+ new
@@ -16,10 +16,10 @@
if fragment == Binding::FragmentNotFound
return unless @binding.has_default?
value = @binding[:default]
else
# DISCUSS: should we return a Skip object instead of this block trick? (same in Binding#serialize?)
- value = deserialize(fragment) { return } # stop here if skip_parse?
+ value = deserialize(fragment) { return } # stop here if skip_parse.
end
value = @binding.parse_filter(value, doc)
# parse_filter
# set
\ No newline at end of file