Module: Cheri::Java::Builder::CherifyFactory
- 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
157 158 159 160 161 |
# File 'lib/cheri/java/builder/main.rb', line 157 def self.builder(ctx,sym,*args,&block) return nil unless sym == :cherify && args[0].respond_to?(:java_class) raise Cheri.argument_error(args.length,1..2) unless args.length == 1 || args.length == 2 CherifyBuilder.new(ctx,sym,*args,&block) end |