Exception: MethodNotInRubyConvention

Inherits:
Exception
  • Object
show all
Defined in:
lib/method_not_in_ruby_convention.rb

Instance Method Summary collapse

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