Sha256: 4f3a71f862860a41d7b92b0b9831483b79a55d01c3ef453d3010f4e5792df8be

Contents?: true

Size: 461 Bytes

Versions: 1

Compression:

Stored size: 461 Bytes

Contents

require File.dirname(__FILE__) + '/base'
require 'erb'
require File.dirname(__FILE__) + '/helpers/options_helpers'
require File.dirname(__FILE__) + '/helpers/text_table_helpers'
module  PrivatePlease ; module Reporter

  class SimpleText < Base

    TEMPLATE_PATH     = File.expand_path(File.dirname(__FILE__) + '/templates/simple.txt.erb')

    def text
      erb = ERB.new(File.read(TEMPLATE_PATH), 0,  "%<>")
      erb.result(binding)
    end

  end

end end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
private_please-0.0.5 lib/private_please/reporter/simple_text.rb