Sha256: f62e706f14c8750040e61c5c7e816af227292d2c3f09d448bfc685f91f4cfcce
Contents?: true
Size: 430 Bytes
Versions: 64
Compression:
Stored size: 430 Bytes
Contents
module RunLoop module Abstract # @!visibility private class AbstractMethodError < StandardError; end # @!visibility private 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 end end
Version data entries
64 entries across 64 versions & 2 rubygems