class SimpleRepresenter::Property
Public Instance Methods
process(representer)
click to toggle source
# File lib/simple_representer/property.rb, line 7 def process(representer) return nil unless representer.represented.respond_to?(field) representer.represented.public_send(field) end