Sha256: ba76f35dcc7d85785743687f82dc70267bee429c939919f24f79a7d225482449

Contents?: true

Size: 116 Bytes

Versions: 20

Compression:

Stored size: 116 Bytes

Contents

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

Version data entries

20 entries across 20 versions & 7 rubygems

Version Path
aslakjo-aslakjo-comatose-2.0.5.1 lib/text_filters/simple.rb
aslakjo-comatose-2.0.5.2 lib/text_filters/simple.rb
aslakjo-comatose-2.0.5.3 lib/text_filters/simple.rb
darthapo-comatose-2.0.3 lib/text_filters/simple.rb
darthapo-comatose-2.0.4 lib/text_filters/simple.rb
darthapo-comatose-2.0.5 lib/text_filters/simple.rb
darthapo-comatose-2.0 lib/text_filters/simple.rb
jcnetdev-comatose-2.0.1 lib/text_filters/simple.rb
staugaard-comatose-2.0.2 lib/text_filters/simple.rb
staugaard-comatose-2.0.3 lib/text_filters/simple.rb
comatose-2.0.5 lib/text_filters/simple.rb
comatose-2.0.1 lib/text_filters/simple.rb
aslakjo-comatose-2.0.5.12 lib/text_filters/simple.rb
aslakjo-comatose-2.0.5.11 lib/text_filters/simple.rb
aslakjo-comatose-2.0.5.10 lib/text_filters/simple.rb
aslakjo-comatose-2.0.5.9 lib/text_filters/simple.rb
aslakjo-comatose-2.0.5.8 lib/text_filters/simple.rb
aslakjo-comatose-2.0.5.7 lib/text_filters/simple.rb
merb_comatose-0.0.2 lib/text_filters/simple.rb
merb_comatose-0.0.3 lib/text_filters/simple.rb