view · edit · sidebar · attach · print · history

One Meaning of << or <<-

<< |= | Index | >>

def dbido(a,b,c)
   print "a=",a,"\n"
   print "b=",b,"\n"
   print "c=",c,"\n"
end

def tschimbo(a,b)
  dbido <<-SQL, a, b
   hello
   SQL
end

tschimbo("1","2")
view · edit · sidebar · attach · print · history
Page last modified on March 15, 2011, at 09:06 AM