dennybaa
6/24/2013 - 7:58 AM

strange...

strange...

[1] pry(#<Erubis::Context>)> self
=> #<Erubis::Context:0x00000000b0c1d8>
[2] pry(#<Erubis::Context>)> _buf
=> "\nthis is a template\n"
[3] pry(#<Erubis::Context>)> 

From: /tmp/a.rb @ line 8 Crap#juancik:

     7: def juancik
 =>  8:   binding.pry
     9:   "<% poop %>"
    10: end

[1] pry(#<Erubis::Context>)> self
=> #<Erubis::Context:0x00000000b0c1d8>
[2] pry(#<Erubis::Context>)> defined? :_buf
=> "expression"
[3] pry(#<Erubis::Context>)> _buf
NameError: undefined local variable or method `_buf' for #<Erubis::Context:0x00000000b0c1d8>
from (pry):5:in `juancik'
[4] pry(#<Erubis::Context>)>