Sha256: fcd1af1e939854762e1c3ece53161d2c8ec4574227ecbc28f4478fd95ac44c0a
Contents?: true
Size: 369 Bytes
Versions: 19
Compression:
Stored size: 369 Bytes
Contents
%table.table - rows.each do |name, options| %tr - if resource_class.respond_to? :human_attribute_name %th = resource_class.human_attribute_name(name) - else %th = name - if options[:block].present? %td = options[:block].call(resource) - else %td = resource.send(name)
Version data entries
19 entries across 19 versions & 1 rubygems