faster_path 0.0.2

Alternative to Pathname
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
module KernelSpecs
  class Method
    def callcc
      super
    end
  end

  def self.before_and_after
    i = "before"
    cont = callcc { |c| c }
    if cont # nil the second time
      i = "after"
      cont.call
    end
    i
  end
end