Module: RIO::Error::NotImplemented
- Included in:
- RL::WithPath, RRL::WithPath
- Defined in:
- lib/rio/exception/notimplemented.rb
Instance Method Summary collapse
Instance Method Details
#nodef(*args) ⇒ Object
37 38 39 40 41 42 |
# File 'lib/rio/exception/notimplemented.rb', line 37 def nodef(*args) method_name = Kernel.caller[0].match(/(?:.+):in \`(.+)\'$/)[1] class_name = self.class.to_s call_str = "#{class_name}.#{method_name}(#{args.join(',')})" raise(RIO::Exception::MethodNotImplemented, "\n#{call_str} is not implemented\n") end |