Sha256: ebc36407979899bdb3cfb708afca6d231c610dde67ee4035efa5ca982fc6a811
Contents?: true
Size: 306 Bytes
Versions: 2
Compression:
Stored size: 306 Bytes
Contents
# frozen_string_literal: true 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/, '
').delete("\r") end def preserve(input) Helpers.preserve(input) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
faml-0.8.1 | lib/faml/helpers.rb |
faml-0.8.0 | lib/faml/helpers.rb |