class Mortar::YamlFile::Namespace

Public Class Methods

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

Public Instance Methods

with_binding() { |binding| ... } click to toggle source
# File lib/mortar/yaml_file.rb, line 13
def with_binding(&block)
  yield binding
end