class Fastlane::ErbalT

Public Class Methods

new(hash, trim_mode = nil) click to toggle source
Calls superclass method
# File fastlane/lib/fastlane/erb_template_helper.rb, line 21
def initialize(hash, trim_mode = nil)
  super(hash)
  @trim_mode = trim_mode
end

Public Instance Methods

render(template) click to toggle source
# File fastlane/lib/fastlane/erb_template_helper.rb, line 26
def render(template)
  ERB.new(template, nil, @trim_mode).result(binding)
end