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