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
brakeman-3.7.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
vagrant-unbundled-1.9.7.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
brakeman-3.7.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
vagrant-unbundled-1.9.5.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
brakeman-3.6.2 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
brakeman-3.6.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
brakeman-3.6.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
brakeman-3.5.0 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
autocompl-0.2.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
autocompl-0.2.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
autocompl-0.2.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
autocompl-0.1.2 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
autocompl-0.1.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
autocompl-0.1.0 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
autocompl-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
vagrant-unbundled-1.9.1.1 vendor/bundle/ruby/2.4.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
abaci-0.3.0 vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
brakeman-3.4.1 bundle/ruby/2.3.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
vagrant-compose-yaml-0.1.3 vendor/bundle/ruby/2.2.0/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb