Module: Cheri::Java::Builder::CheriYieldFactory
- Defined in:
- lib/cheri/java/builder/main.rb
Overview
TODO: comments
Class Method Summary collapse
-
.builder(ctx, sym, *args, &block) ⇒ Object
< Cheri::AbstractFactory.
Class Method Details
.builder(ctx, sym, *args, &block) ⇒ Object
< Cheri::AbstractFactory
166 167 168 169 170 |
# File 'lib/cheri/java/builder/main.rb', line 166 def self.builder(ctx,sym,*args,&block) return nil unless sym == :cheri_yield && args[0].respond_to?(:java_class) raise Cheri.argument_error(args.length,1) unless args.length == 1 CheriYieldBuilder.new(ctx,sym,*args,&block) end |