Sha256: 80f260810ad104aa757d4840bd05062b67de7f5b0effc884186eb113d4cefc6a

Contents?: true

Size: 202 Bytes

Versions: 2

Compression:

Stored size: 202 Bytes

Contents

require 'erb'

module TurnipFormatter
  class Template
    module StepMultiline
      def self.build(lines)
        '<pre class="multiline">' + ERB::Util.h(lines) + '</pre>'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
turnip_formatter-0.0.3 lib/turnip_formatter/template/step_multiline.rb
turnip_formatter-0.0.2 lib/turnip_formatter/template/step_multiline.rb