Class: Config::ComplexFactory
Constant Summary
collapse
- @@nameregex =
/\w+/
- @@valueregex =
/(\s*.+[;][\s\n]*)*(\s*.+[;]*[\s\n]*)/
Class Method Summary
collapse
Methods inherited from ItemFactory
factories, getItemFor, inherited, load
Class Method Details
.match(_str) ⇒ Object
11
12
13
14
|
# File 'lib/module_config/items/complex.rb', line 11
def ComplexFactory.match(_str)
_str.sub!(ComplexItem.getRegex(@@nameregex, @@valueregex), '')
return $&
end
|
.priority ⇒ Object
20
21
22
|
# File 'lib/module_config/items/complex.rb', line 20
def ComplexFactory.priority
11
end
|