Sha256: 8f15c62269c2b4fafc92c99886f7ef2081e1b8c9ea8ec2b0313399f0046c572b

Contents?: true

Size: 224 Bytes

Versions: 5

Compression:

Stored size: 224 Bytes

Contents

module Owl
  module CMS
    module Helpers
      include Sinatra

      module Truncate

        def truncate(content, length=250)
          HTML_Truncator.truncate(content, length)
        end

      end

    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
owl-cms-0.1.5 core/helpers/truncate.rb
owl-cms-0.1.3 core/helpers/truncate.rb
owl-cms-0.1.2 core/helpers/truncate.rb
owl-cms-0.1.1 core/helpers/truncate.rb
owl-cms-0.1.0 core/helpers/truncate.rb