Sha256: d728f470118f477ffffe4b1fd787d3642881255fcb8987cf767ca1666e45cae2
Contents?: true
Size: 362 Bytes
Versions: 34
Compression:
Stored size: 362 Bytes
Contents
class Tabulatr::Renderer::Filter attr_accessor :name, :partial, :block def initialize(name, partial: nil, &block) @name = name @block = block @partial = partial end def filter :custom end def to_partial_path if partial.present? partial else "tabulatr/filter/#{name.to_s.downcase.underscore}" end end end
Version data entries
34 entries across 34 versions & 1 rubygems