Method: Patm::NoMatchError#initialize
- Defined in:
- lib/patm.rb
#initialize(value) ⇒ NoMatchError
Returns a new instance of NoMatchError.
3 4 5 6 |
# File 'lib/patm.rb', line 3 def initialize(value) super("Pattern not match: value=#{value.inspect}") @value = value end |