class SoarSc::Web::Views::ERBLoader::ERBNamespace

Public Class Methods

new(hash) click to toggle source
# File lib/soar_sc_views/erb_loader.rb, line 9
def initialize(hash)
  hash.each do |k, v|
    singleton_class.send(:define_method, k) { v }
  end
end

Public Instance Methods

get_binding() click to toggle source
# File lib/soar_sc_views/erb_loader.rb, line 15
def get_binding
  binding
end