Method: FileUtils.have_option?
- Defined in:
- lib/fileutils.rb
.have_option?(mid, opt) ⇒ Boolean
1669 1670 1671 1672 |
# File 'lib/fileutils.rb', line 1669 def self.have_option?(mid, opt) li = OPT_TABLE[mid.to_s] or raise ArgumentError, "no such method: #{mid}" li.include?(opt) end |