Method: ALib::AbstractMain.options

Defined in:
lib/alib-0.5.1/main.rb

.options(*list) ⇒ Object



220
221
222
223
224
225
226
227
# File 'lib/alib-0.5.1/main.rb', line 220

def options(*list)
#--{{{
  @optspec ||= []
  return @optspec if list.empty?
  list = [list] unless Array === list.first
  list.each{|spec| (@optspec ||= []) << spec}
#--}}}
end