module BuildFinder
Find the build object
Public Class Methods
get_build()
click to toggle source
# File lib/reggae.rb, line 5 def self.get_build builds = [] ObjectSpace.each_object(Build) { |x| builds << x } if builds.length != 1 fail "Only one Build object may exist, found #{builds.length}" end builds[0] end