class Matest::SkipMe

Attributes

source_location[R]

Public Class Methods

new(the_caller=nil) click to toggle source
# File lib/matest/skip_me.rb, line 4
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

Public Instance Methods

to_proc() click to toggle source
# File lib/matest/skip_me.rb, line 12
def to_proc
  proc { SkipMe.new }
end