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
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
challah-rolls-0.2.0 vendor/bundle/gems/challah-0.8.3/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
challah-rolls-0.2.0 vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
challah-0.8.3 vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
fragrant-0.0.5 vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
challah-0.8.1 vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
challah-rolls-0.1.0 vendor/bundle/gems/challah-0.8.0.pre/vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
challah-rolls-0.1.0 vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
challah-0.8.0.pre vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
challah-0.7.1 vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
challah-0.7.0 vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
challah-0.7.0.pre2 vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
challah-0.7.0.pre vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
challah-0.6.2 vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
initforthe-cookies-0.0.1 vendor/bundle/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/rails-uploader-0.0.1/vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/erubis-2.7.0/test/data/users-guide/printenabled-example.rb