Sha256: a8dced8d847b33dd8ec63e10d38533ef0c47fe84eb2ca8df1323c5c0094ae727

Contents?: true

Size: 622 Bytes

Versions: 7

Compression:

Stored size: 622 Bytes

Contents

# File: eo-line.rb


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

7 entries across 7 versions & 1 rubygems

Version Path
macros4cuke-0.5.14 lib/macros4cuke/templating/eo-line.rb
macros4cuke-0.5.13 lib/macros4cuke/templating/eo-line.rb
macros4cuke-0.5.12 lib/macros4cuke/templating/eo-line.rb
macros4cuke-0.5.11 lib/macros4cuke/templating/eo-line.rb
macros4cuke-0.5.10 lib/macros4cuke/templating/eo-line.rb
macros4cuke-0.5.09 lib/macros4cuke/templating/eo-line.rb
macros4cuke-0.5.08 lib/macros4cuke/templating/eo-line.rb