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.2.9 lib/faml/helpers.rb
faml-0.2.8 lib/faml/helpers.rb
faml-0.2.7 lib/faml/helpers.rb
faml-0.2.6 lib/faml/helpers.rb
faml-0.2.5 lib/faml/helpers.rb
faml-0.2.4 lib/faml/helpers.rb
faml-0.2.3 lib/faml/helpers.rb
faml-0.2.2 lib/faml/helpers.rb