Exception: Patm::NoMatchError
- Inherits:
-
StandardError
- Object
- StandardError
- Patm::NoMatchError
- Defined in:
- lib/patm.rb
Instance Attribute Summary collapse
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ NoMatchError
constructor
A new instance of NoMatchError.
Constructor Details
#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 |
Instance Attribute Details
#value ⇒ Object (readonly)
Returns the value of attribute value.
7 8 9 |
# File 'lib/patm.rb', line 7 def value @value end |