class Matchable::UnmatchedName
Nicety wrapper to ensure unmatched methods give a clear response on what's missing
@author baweaver @since 0.1.1
Public Class Methods
new(msg)
click to toggle source
Calls superclass method
# File lib/matchable.rb, line 18 def initialize(msg) @msg = <<~ERROR Some attributes are missing methods for the match. Ensure all attributes have a method of the same name, or an `attr_` method. Original Error: #{msg} ERROR super(@msg) end