# general-types.rb: various useful command types # copyright (c) 2009 by Vincent Fourmond # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details (in the COPYING file). require 'ctioga2/utils' module CTioga2 Version::register_svn_info('$Revision: 517 $', '$Date: 2013-09-19 18:28:15 +0200 (Thu, 19 Sep 2013) $') module Commands # A file name. FileType = CmdType.new('file', :string, < :float, :shortcuts => {'none' => false }}, < :array, :subtype => :float, :separator => /\s+|\s*,\s*/, :separator_out => " " }, < :array, :subtype => :string, :separator => /\s*,\s*/, :alternative_separator => /\s*\|\|\s*/, :separator_out => "," }, <