Sha256: 7262948ea9e3ccbdd7adfd45f10697806d12368152da96a000ca32ac3e7bd65c
Contents?: true
Size: 327 Bytes
Versions: 9
Compression:
Stored size: 327 Bytes
Contents
module Matest class SkipMe attr_reader :source_location def initialize(the_caller=nil) if the_caller @the_caller = the_caller file, lineno = the_caller.first.split(":") @source_location = [file, lineno.to_i] end end def to_proc proc { SkipMe.new } end end end
Version data entries
9 entries across 9 versions & 1 rubygems