Exception: MethodNotInRubyConvention
- Inherits:
-
Exception
- Object
- Exception
- MethodNotInRubyConvention
- Defined in:
- lib/method_not_in_ruby_convention.rb
Instance Method Summary collapse
-
#initialize(method_name) ⇒ MethodNotInRubyConvention
constructor
A new instance of MethodNotInRubyConvention.
Constructor Details
#initialize(method_name) ⇒ MethodNotInRubyConvention
Returns a new instance of MethodNotInRubyConvention.
2 3 4 |
# File 'lib/method_not_in_ruby_convention.rb', line 2 def initialize method_name super(MessageTemplate.gsub(/method_name/, method_name.to_s)) end |