Sha256: b96d583f597b9516be7be8a1fc240c68e8917e6a1895c3fdff64ac6eac21ef3c
Contents?: true
Size: 509 Bytes
Versions: 18
Compression:
Stored size: 509 Bytes
Contents
<%- module_namespacing do -%> <%- if parent_class_name.present? -%> class <%= class_name %>Decorator < <%= parent_class_name %> <%- else -%> class <%= class_name %> <%- end -%> delegate_all # Define presentation-specific methods here. Helpers are accessed through # `helpers` (aka `h`). You can override attributes, for example: # # def created_at # helpers.content_tag :span, class: 'time' do # object.created_at.strftime("%a %m/%d/%y") # end # end end <% end -%>
Version data entries
18 entries across 18 versions & 4 rubygems