class Build::Environment::Constructor
def method_missing(name, *args, **options, &block)
def method_missing(name, *args, **options, &block) if options.empty? if args.empty? and block_given? @environment[name] = block return name elsif !args.empty? if args.count == 1 @environment[name] = args.first else @environment[name] = args end return name end end if @proxy # This is a bit of a hack, but I'm not sure if there is a better way. if options.empty? @proxy.send(name, *args, &block) else @proxy.send(name, *args, **options, &block) end else super end end