Sha256: 8d8b1330c46655fdfc5de4c76792e3ab194d6e8fffb7aa0652a9331ecb7d1aa3

Contents?: true

Size: 126 Bytes

Versions: 6

Compression:

Stored size: 126 Bytes

Contents

#
# SIMPLE
#
Comatose::TextFilters.define :simple, "Simple" do
  def render_text(text)
    text.gsub("\n", '<br/>')
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
comatose-rubyisbeautiful-3.0.5 lib/text_filters/simple.rb
comatose-rubyisbeautiful-3.0.4 lib/text_filters/simple.rb
comatose-rubyisbeautiful-3.0.3 lib/text_filters/simple.rb
comatose-rubyisbeautiful-3.0.2 lib/text_filters/simple.rb
comatose-rubyisbeautiful-3.0.1 lib/text_filters/simple.rb
comatose-rubyisbeautiful-3.0.0 lib/text_filters/simple.rb