Update Vendored Erubis to 2.6.6
This commit is contained in:
parent
c18c2f988d
commit
39c2138f88
300 changed files with 207 additions and 171 deletions
8
vendor/plugins/erubis/test/data/users-guide/example9.rb
vendored
Normal file
8
vendor/plugins/erubis/test/data/users-guide/example9.rb
vendored
Normal file
|
@ -0,0 +1,8 @@
|
|||
require 'erubis'
|
||||
input = File.read('example9.eruby')
|
||||
eruby1 = Erubis::Eruby.new(input)
|
||||
eruby2 = Erubis::Eruby.new(input, :preamble=>false, :postamble=>false)
|
||||
|
||||
puts eruby1.src # print preamble and postamble
|
||||
puts "--------------"
|
||||
puts eruby2.src # don't print preamble and postamble
|
Loading…
Add table
Add a link
Reference in a new issue