Class: Optimist::IOArrayOption

Inherits:
IOOption show all
Defined in:
lib/optimist.rb

Overview

Option class for handling Files/URLs via ‘open’

Instance Attribute Summary

Attributes inherited from Option

#default, #long, #multi_given, #name, #permitted, #permitted_response, #short

Instance Method Summary collapse

Methods inherited from IOOption

#parse

Methods inherited from Option

#array_default?, #callback, create, #desc, #doesnt_need_autogen_short, #educate, #flag?, #format_stdio, #full_description, #initialize, #multi, #opts, #opts=, #parse, #permitted_type_valid?, #permitted_valid_string, #permitted_value?, register_alias, #required?, #single_arg?, #validate_permitted

Constructor Details

This class inherits a constructor from Optimist::Option

Instance Method Details

#multi_arg?Boolean

Returns:

  • (Boolean)


1133
# File 'lib/optimist.rb', line 1133

def multi_arg? ; true ; end

#type_formatObject



1132
# File 'lib/optimist.rb', line 1132

def type_format ; "=<filename/uri+>" ; end