Method: String::Characters.of
- Defined in:
- lib/propr/random/string.rb
.of(regexp, set = Characters::ALL) ⇒ Object
6 7 8 |
# File 'lib/propr/random/string.rb', line 6 def self.of(regexp, set = Characters::ALL) CLASSES[regexp] || set.scan(regexp) end |