Method: Xumlidot::Parsers::Args#initialize

Defined in:
lib/xumlidot/parsers/args.rb

#initialize(exp) ⇒ Args

Returns a new instance of Args.



13
14
15
16
17
18
19
20
21
# File 'lib/xumlidot/parsers/args.rb', line 13

def initialize(exp)
  super()

  @arguments = ::Xumlidot::Types::Arguments.new

  process(Sexp.new.concat(exp))
rescue StandardError => _e
  warn " ** bug: unable to process args #{exp} "
end