Top Level Namespace
Defined Under Namespace
Modules: UIC
Classes: RUIC
Instance Method Summary
collapse
Instance Method Details
#RUIC(opts = {}, &block) ⇒ Object
97
98
99
100
101
102
103
104
105
|
# File 'lib/ruic.rb', line 97
def RUIC(opts={},&block)
if block
Dir.chdir(File.dirname($0)) do
RUIC.new.tap{ |r| r.uia(opts[:uia]) if opts[:uia] }.instance_eval(&block)
end
else
RUIC.run(opts)
end
end
|