Method: Xumlidot::Parsers::Args#process_lit
- Defined in:
- lib/xumlidot/parsers/args.rb
#process_lit(exp) ⇒ Object
106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 |
# File 'lib/xumlidot/parsers/args.rb', line 106 def process_lit(exp) exp.shift # remove :lit case @argument.default when Array @argument.default << exp.value when nil @argument.default = exp.value when Symbol, String @argument.default = exp.value.to_s # when Sexp # binding.pry # when Hash # binding.pry # else # binding.pry end exp.shift s() end |