Exception: Rails::PatternMatching::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Rails::PatternMatching::Error
- Defined in:
- lib/rails/pattern_matching.rb
Instance Method Summary collapse
-
#initialize(context) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(context) ⇒ Error
Returns a new instance of Error.
10 11 12 13 14 15 16 |
# File 'lib/rails/pattern_matching.rb', line 10 def initialize(context) super(" Pattern matching appears to already be defined in \#{context}. In this\n case the rails-pattern_matching gem should not be used because it\n would override the pattern matching behavior given by \#{context}.\n MSG\nend\n") |