class Dodebui::TemplateNamespace
namespace for evaluationg templates
Public Class Methods
new(hash)
click to toggle source
# File lib/dodebui/template_namespace.rb, line 4 def initialize(hash) hash.each do |key, value| singleton_class.send(:define_method, key) { value } end end
Public Instance Methods
priv_binding()
click to toggle source
# File lib/dodebui/template_namespace.rb, line 10 def priv_binding binding end