module Opt
Public Class Methods
new() { |p| ... }
click to toggle source
# File lib/opt.rb, line 9 def self.new Program.new.tap{|p| yield p if block_given? } end
# File lib/opt.rb, line 9 def self.new Program.new.tap{|p| yield p if block_given? } end