lib/rubigen/spec.rb
# Look up the generator class.  Require its class file, find the class
# in ObjectSpace, tag it with this spec, and return.
Look up the generator class.  Require its class file, find the class
in ObjectSpace, tag it with this spec, and return.
Look up the generator class . Require its class file find the class in ObjectSpace tag it with this spec and return .
def klass
      unless @klass
        require class_file
        @klass = lookup_class
        @klass.spec = self
      end
      @klass
    end
def klass unless @klass require class_file @klass = lookup_class @klass . spec = self end @klass end
Look up the generator class.
Look up the generator class .