Sha256: 155feb5562d90d7a03f481da5b7cc4ad6756909da9aa9c7f629dec6f5e76cac0
Contents?: true
Size: 390 Bytes
Versions: 3
Compression:
Stored size: 390 Bytes
Contents
module Main def Main.factory(&block) Program.factory(&block) end def Main.create(&block) factory(&block) end def Main.new(*args, &block) factory(&block).build(*args).new() end def Main.run(*args, &block) new(*args, &block).run() end end module Kernel private def Main(*args, &block) Main.run(*args, &block) end alias_method 'main', 'Main' end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
main-3.0.3 | lib/main/factories.rb |
main-3.0.2 | lib/main/factories.rb |
main-3.0.1 | lib/main/factories.rb |