Sha256: 5fbdeca1ee7e27086738d470639ada10f9962b7d86fbc2da18d00f6e850f9a60

Contents?: true

Size: 248 Bytes

Versions: 214

Compression:

Stored size: 248 Bytes

Contents

require 'erubis'
class PrintEnabledEruby < Erubis::Eruby
  include Erubis::PrintEnabledEnhancer
end
input = File.read('printenabled-example.eruby')
eruby = PrintEnabledEruby.new(input)
list = ['aaa', 'bbb', 'ccc']
print eruby.evaluate(:list=>list)

Version data entries

214 entries across 188 versions & 44 rubygems

Version Path
rango-0.1.pre vendor/erubis/test/data/users-guide/printenabled-example.rb
simple-templater-0.0.1 vendor/erubis/test/data/users-guide/printenabled-example.rb
merb-core-1.1.0.pre spec10/public/webrat/test_app/gems/gems/erubis-2.6.2/test/data/users-guide/printenabled-example.rb
erubis-2.6.5 test/data/users-guide/printenabled-example.rb
erubis-2.3.0 test/data/users-guide/printenabled-example.rb
erubis-2.4.0 test/data/users-guide/printenabled-example.rb
erubis-2.6.3 test/data/users-guide/printenabled-example.rb
erubis-2.6.2 test/data/users-guide/printenabled-example.rb
erubis-2.3.1 test/data/users-guide/printenabled-example.rb
erubis-2.4.1 test/data/users-guide/printenabled-example.rb
erubis-2.5.0 test/data/users-guide/printenabled-example.rb
erubis-2.6.0 test/data/users-guide/printenabled-example.rb
erubis-2.6.1 test/data/users-guide/printenabled-example.rb
erubis-2.6.4 test/data/users-guide/printenabled-example.rb