Sha256: 4f3a2f6c0eb02f3528817f22902345723ce2b4c5e497b4144f8d1d186ef57703

Contents?: true

Size: 278 Bytes

Versions: 28

Compression:

Stored size: 278 Bytes

Contents

module Faml
  # Don't use these methods!

  module Helpers
    def self.preserve(input)
      # Taken from the original haml code
      input.to_s.chomp("\n").gsub(/\n/, '
').gsub(/\r/, '')
    end

    def preserve(input)
      Helpers.preserve(input)
    end
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
faml-0.6.0 lib/faml/helpers.rb
faml-0.5.1 lib/faml/helpers.rb
faml-0.5.0 lib/faml/helpers.rb
faml-0.4.2 lib/faml/helpers.rb
faml-0.4.1 lib/faml/helpers.rb
faml-0.4.0 lib/faml/helpers.rb
faml-0.3.6 lib/faml/helpers.rb
faml-0.3.5 lib/faml/helpers.rb
faml-0.3.4 lib/faml/helpers.rb
faml-0.3.3 lib/faml/helpers.rb
faml-0.3.2 lib/faml/helpers.rb
faml-0.3.1 lib/faml/helpers.rb
faml-0.3.0 lib/faml/helpers.rb
faml-0.2.16 lib/faml/helpers.rb
faml-0.2.15 lib/faml/helpers.rb
faml-0.2.14 lib/faml/helpers.rb
faml-0.2.13 lib/faml/helpers.rb
faml-0.2.12 lib/faml/helpers.rb
faml-0.2.11 lib/faml/helpers.rb
faml-0.2.10 lib/faml/helpers.rb