Module: Stitcher::Stitch
Defined Under Namespace
Classes: Definer
Instance Method Summary collapse
Methods included from DefineMethod
as_instance_executable, #stitcher_define_method
Methods included from Register
define_call_method, register, #stitcher_register
Instance Method Details
#stitch(*args, &block) ⇒ Object
18 19 20 21 |
# File 'lib/stitcher/stitch.rb', line 18 def stitch *args, &block return Definer.new self if args.empty? Register.register self, *args, &block end |