class RubyInstaller::Build::ErbCompiler::Box
Public Class Methods
new(co, task)
click to toggle source
# File lib/ruby_installer/build/erb_compiler.rb, line 8 def initialize(co, task) @co = co @task = task end
Public Instance Methods
binding()
click to toggle source
# File lib/ruby_installer/build/erb_compiler.rb, line 17 def binding Kernel.binding end
method_missing(meth, *args, &block)
click to toggle source
# File lib/ruby_installer/build/erb_compiler.rb, line 13 def method_missing(meth, *args, &block) @task.send(meth, *args, &block) end
q(text)
click to toggle source
Quote a text string with the quotation rules of the resulting files.
# File lib/ruby_installer/build/erb_compiler.rb, line 22 def q(text) meth = case @co.result_filename when /\.iss$/ then :q_inno else raise "can not determine quote rules for #{@co.result_filename}" end send(meth, text) end