class Crafti::TemplateBinding

Public Class Methods

new(hash) click to toggle source
# File lib/crafti.rb, line 24
def initialize(hash)
  hash.each do |key, value|
    singleton_class.send(:define_method, key) { value }
  end
end

Public Instance Methods

get_binding() click to toggle source
# File lib/crafti.rb, line 30
def get_binding
  binding
end