Module: Origin::Extensions::Regexp::ClassMethods
- Defined in:
- lib/origin/extensions/regexp.rb
Instance Method Summary collapse
-
#evolve(object) ⇒ Regexp
Evolve the object into a regex.
Instance Method Details
#evolve(object) ⇒ Regexp
Evolve the object into a regex.
30 31 32 33 34 |
# File 'lib/origin/extensions/regexp.rb', line 30 def evolve(object) __evolve__(object) do |obj| ::Regexp.new(obj) end end |