module Bindep
Constants
- VERSION
Public Class Methods
context()
click to toggle source
Get the global context instance, create a new one on first call.
# File lib/bindep/core.rb, line 3 def self.context @context ||= Context.new end
load_file(filename = 'Bindepfile')
click to toggle source
Evaluate a Bindepfile in the global context.
# File lib/bindep/core.rb, line 8 def self.load_file(filename = 'Bindepfile') context.instance_eval File.read(filename) end
method_missing(method, *args, &block)
click to toggle source
Redirect all other method calls to the global context instance.
# File lib/bindep/core.rb, line 13 def self.method_missing(method, *args, &block) context.send method, *args, &block end