# File lib/Getopt/Declare.rb, line 266 def code(*t) if t[0] pos1 = t[0].to_s() else pos1 = '0' end c = conversion if !c.empty? c = "\n _VAL_ = _VAL_#{c}\n" end code = "_VAR_ = %q|<\#{@name}>|\n_VAL_ = @@m[\#{pos1}]\n_VAL_.tr!(\"\\\\0\",\" \") if _VAL_\#{c}\n" actions = Getopt::Declare::ScalarArg::stdactions(@type) for i in actions next if i.nil? # i.sub!(/(\s*\{)/, '\1 module '+t[1]) code << " begin #{i} end " end code << " #{@name} = _VAL_\n" end