Sha256: 1260f1d8140379bf9863071407431073fa0e8b2b99803eeb36058742f4fbe430

Contents?: true

Size: 145 Bytes

Versions: 3

Compression:

Stored size: 145 Bytes

Contents

class <%= class_name %>Filter < TextFilter::Base
  register "<%= filter_name %>"
  
  def filter(text)
    # filter text here
    text
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
radiant-0.5.0 lib/generators/filter/templates/model.rb.template
radiant-0.5.1 lib/generators/filter/templates/model.rb.template
radiant-0.5.2 lib/generators/filter/templates/model.rb.template