Class: Optimist::IOArrayOption

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

Overview

Option class for handling Files/URLs via ‘open’

Instance Attribute Summary

Attributes inherited from Option

#default, #long, #multi_given, #name, #short

Instance Method Summary collapse

Methods inherited from IOOption

#parse

Methods inherited from Option

#array_default?, #callback, create, #desc, #description_with_default, #educate, #flag?, #initialize, #multi, #opts, #opts=, #parse, register_alias, #required?, #short?, #single_arg?

Constructor Details

This class inherits a constructor from Optimist::Option

Instance Method Details

#multi_arg?Boolean

Returns:

  • (Boolean)


886
# File 'lib/firebase-ruby/optimist.rb', line 886

def multi_arg? ; true ; end

#type_formatObject



885
# File 'lib/firebase-ruby/optimist.rb', line 885

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