Sha256: 952bb99ef0f9d6f30ba83d5f0eb9943e2dc87332e1134b37f096fb887c7bc435

Contents?: true

Size: 649 Bytes

Versions: 1

Compression:

Stored size: 649 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

  public

  # 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(aContextObject, theLocals)
    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.03 lib/macros4cuke/templating/eo-line.rb