Module: Kernel

Defined in:
lib/eac_ruby_utils/patches/kernel/nyi.rb

Instance Method Summary collapse

Instance Method Details

#nyi(message = nil) ⇒ Object

Raise exception with text “Not yet implemented”.


5
6
7
8
9
# File 'lib/eac_ruby_utils/patches/kernel/nyi.rb', line 5

def nyi(message = nil)
  s = "Not yet implemented (Called in #{caller.first})"
  s += ": #{message}" if message
  raise s
end