Module: ConfSources
- Defined in:
- lib/confsources.rb
Overview
Sources is the raw-data config It imay not valid, but can parse itself to hash
Defined Under Namespace
Classes: Clone, CommandLine, Default, File
Class Method Summary collapse
Class Method Details
.is_option_exist?(opt_name) ⇒ Boolean
12 13 14 |
# File 'lib/confsources.rb', line 12 def self.is_option_exist? opt_name ! ConfMaker::.select{ |opt| opt[:name] == opt_name }.empty? end |