Project

General

Profile

Bug #9875 ยป 0001-ERB-result-does-not-accept-a-proc.patch

patch - soodesune (Mark Lorenz), 05/29/2014 04:26 AM

View differences:

lib/erb.rb
# the results of that code. (See ERB::new for details on how this process
# can be affected by _safe_level_.)
#
# _b_ accepts a Binding or Proc object which is used to set the context of
# _b_ accepts a Binding object which is used to set the context of
# code evaluation.
#
def result(b=new_toplevel)
    (1-1/1)