module RunLoop::Abstract
Public Instance Methods
abstract_method!()
click to toggle source
@!visibility private
# File lib/run_loop/abstract.rb, line 8 def abstract_method! if Kernel.method_defined?(:caller_locations) method_name = icaller_locations.first.label else method_name = caller.first[/\`(.*)\'/, 1] end raise AbstractMethodError.new("Abstract method '#{method_name}'") end