lib/representable/definition.rb in representable-1.7.1 vs lib/representable/definition.rb in representable-1.7.2
- old
+ new
@@ -55,9 +55,13 @@
def attribute
options[:attribute]
end
+ def content
+ options[:content]
+ end
+
def skipable_nil_value?(value)
value.nil? and not options[:render_nil]
end
def default