Method: Utils::Patterns::Pattern#method_missing
- Defined in:
- lib/utils/patterns.rb
#method_missing(*a, &b) ⇒ Object
14 15 16 17 18 |
# File 'lib/utils/patterns.rb', line 14 def method_missing(*a, &b) @matcher.__send__(*a, &b) rescue ArgumentError => e raise e unless e..include?('invalid byte sequence in UTF-8') end |