module One9
Constants
- VERSION
Attributes
config[RW]
dir[RW]
rc[RW]
stacks[RW]
Public Instance Methods
it()
click to toggle source
# File lib/one9.rb, line 20 def it meths = load_methods Spy.setup meths Report.later(meths, stacks) end
load_methods()
click to toggle source
# File lib/one9.rb, line 26 def load_methods # ensure all changes can be loaded %w{date time}.each {|e| require e } Rc.load File.dirname(__FILE__) + '/one9/defaults.rb' Rc.load(rc) if File.exists?(rc) Rc.meths end
spy(meth)
click to toggle source
# File lib/one9.rb, line 16 def spy(meth) stacks[meth] << caller[1..-1] end