Sha256: 253ac693f032face604d3f4bcb9a696a0f6b9be329204944c2e6f3e69159d471
Contents?: true
Size: 287 Bytes
Versions: 13
Compression:
Stored size: 287 Bytes
Contents
module Partystreusel::Helpers::ReadmoreHelper def readmore(*rest, &block) attrs = {} attrs = rest.shift if rest.last.is_a?(Hash) attrs.symbolize_keys! attrs[:data] ||= {} attrs[:data]['streusel-readmore'] = true haml_tag(:div, *rest, attrs, &block) end end
Version data entries
13 entries across 13 versions & 1 rubygems