Sha256: 8dd82cd80857e59469e3c85e279f6ea563dd74d514fb6aa627337a86f569ee9e
Contents?: true
Size: 639 Bytes
Versions: 1
Compression:
Stored size: 639 Bytes
Contents
# frozen_string_literal: true module Macros4Cuke # Module used as a namespace # Module containing all classes implementing the simple template engine # used internally in Macros4Cuke. module Templating # Class used internally by the template engine. # Represents an end of line that must be rendered as such. class EOLine # Render an end of line. # This method has the same signature as the {Engine#render} method. # @return [String] An end of line marker. Its exact value is OS-dependent. def render(_, _) return "\n" end end # class end # module end # module # End of file
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
macros4cuke-0.5.17 | lib/macros4cuke/templating/eo-line.rb |