/macosx-10.9.5/ruby-104/ruby/lib/rdoc/ |
H A D | erb_partial.rb | 2 # Allows an ERB template to be rendered in the context (binding) of an 3 # existing ERB template evaluation. 5 class RDoc::ERBPartial < ERB
|
H A D | erbio.rb | 4 # A subclass of ERB that writes directly to an IO. Credit to Aaron Patterson 17 class RDoc::ERBIO < ERB 20 # Defaults +eoutvar+ to 'io', otherwise is identical to ERB's initialize
|
/macosx-10.9.5/ruby-104/ruby/test/erb/ |
H A D | test_erb_m17n.rb | 7 erb = ERB.new("hello") 10 erb = ERB.new("���������������".encode("EUC-JP")) 13 erb = ERB.new("\xC4\xE3\xBA\xC3".force_encoding("EUC-CN")) 16 erb = ERB.new("�������� ������".encode("ISO-8859-7")) 20 ERB.new("���������������".force_encoding("ISO-2022-JP")) # dummy encoding 25 erb = ERB.new("hello") 28 erb = ERB.new("hello".force_encoding("EUC-JP")) 31 erb = ERB.new("hello".force_encoding("ISO-8859-9")) 36 erb = ERB.new("literal encoding is <%= 'hello'.encoding %>") 39 erb = ERB [all...] |
H A D | test_erb.rb | 9 erb = ERB.new("<% raise ::TestERB::MyError %>") 17 erb = ERB.new("<% raise ::TestERB::MyError %>") 26 erb = ERB.new("<% raise ::TestERB::MyError %>", 1) 34 erb = ERB.new("<% raise ::TestERB::MyError %>", 1) 44 ERB::Util.html_escape(" !\"\#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~")) 46 assert_equal("", ERB::Util.html_escape("")) 47 assert_equal("abc", ERB::Util.html_escape("abc")) 48 assert_equal("<<", ERB::Util.html_escape("<\<")) 50 assert_equal("", ERB::Util.html_escape(nil)) 51 assert_equal("123", ERB [all...] |
/macosx-10.9.5/ruby-104/ruby/benchmark/ |
H A D | bm_app_erb.rb | 2 # Create many HTML strings with ERB. 13 ERB.new(data).result(binding)
|
/macosx-10.9.5/ruby-104/ruby/lib/webrick/httpservlet/ |
H A D | erbhandler.rb | 19 # ERBHandler evaluates an ERB file and returns the result. This handler 25 # The ERB file is evaluated with the local variables +servlet_request+ and 39 # ERB file +name+ 50 unless defined?(ERB) 51 @logger.warn "#{self.class}: ERB not defined." 56 res.body = evaluate(ERB.new(data), req, res)
|
/macosx-10.9.5/WebKit-7537.78.2/WebKit.vcxproj/WebKitExportGenerator/ |
H A D | make-export-file-generator | 60 renderer = ERB.new(TEMPLATE, 0, "-")
|
/macosx-10.9.5/WebCore-7537.78.1/ |
H A D | make-export-file-generator | 74 renderer = ERB.new(TEMPLATE, 0, "-")
|
/macosx-10.9.5/ruby-104/ruby/bin/ |
H A D | erb | 8 class ERB class 54 def run(factory=ERB) 154 ERB::Main.run
|
/macosx-10.9.5/ruby-104/ruby/sample/ripper/ |
H A D | ruby2html.rb | 66 class ERB class 76 erb = ERB.new(TEMPLATE, nil, '>')
|
/macosx-10.9.5/ruby-104/ruby/tool/ |
H A D | generic_erb.rb | 21 erb = ERB.new(File.read(template), nil, '%')
|
H A D | instruction.rb | 677 ERB.new(src).result(binding) 920 ERB.new(vpath.read('template/vmtc.inc.tmpl')).result(binding) 1025 ERB.new(vpath.read('template/insns_info.inc.tmpl')).result(binding) 1041 ERB.new(vpath.read('template/insns.inc.tmpl')).result(binding) 1057 ERB.new(vpath.read('template/minsns.inc.tmpl')).result(binding) 1143 ERB.new(vpath.read('template/optinsn.inc.tmpl')).result(binding) 1180 ERB.new(vpath.read('template/optunifs.inc.tmpl')).result(binding) 1204 ERB.new(vpath.read('template/opt_sc.inc.tmpl')).result(binding) 1216 ERB.new(vpath.read('template/yasmdata.rb.tmpl')).result(binding) 1253 ERB [all...] |
H A D | compile_prelude.rb | 79 erb = ERB.new(<<'EOS', nil, '%')
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/package/ |
H A D | pre-package.rb | 11 str = ERB.new(File.new(src).read).result(bind)
|
/macosx-10.9.5/ruby-104/ruby/lib/ |
H A D | erb.rb | 2 # = ERB -- Ruby Templating 7 # See ERB for primary documentation and ERB::Util for a couple of utility 17 # = ERB -- Ruby Templating 21 # ERB provides an easy to use but powerful templating system for Ruby. Using 22 # ERB, actual Ruby code can be added to any plain text document for the 30 # template = ERB.new <<-EOF 42 # ERB recognizes certain tags in the provided template and converts them based 48 # % a line of Ruby code -- treated as <% line %> (optional -- see ERB.new) 52 # All other text is passed through ERB filterin 259 class ERB class 270 class ERB class 728 class ERB class 915 class ERB class 963 class ERB class [all...] |
/macosx-10.9.5/ruby-104/ruby/enc/ |
H A D | make_encmake.rb | 110 erb = ERB.new(File.read(depend), nil, '%') 123 erb = ERB.new(File.read(File.join($srcdir, "encinit.c.erb")), nil, '%-')
|
/macosx-10.9.5/ruby-104/ruby/ext/socket/ |
H A D | mkconstants.rb | 80 ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_const_decls") 94 ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_const_defs_in_guard(make_value, name, default_value)") 103 ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_const_defs") 153 ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_name_to_int_decl(funcname, pat, prefix_optional, guard=nil)") 163 ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_name_to_int_func_in_guard(funcname, pat, prefix_optional, guard=nil)") 184 ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_name_to_int_func(funcname, pat, prefix_optional, guard=nil)") 213 ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_int_to_name_hash(hash_var, pat, prefix_pat)") 222 ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_int_to_name_func(func_name, hash_var)") 233 ERB.new(<<'EOS', nil, '%').def_method(Object, "gen_int_to_name_decl(func_name, hash_var)") 282 result = ERB [all...] |
/macosx-10.9.5/ruby-104/ruby/test/rdoc/ |
H A D | test_rdoc_generator_darkfish.rb | 170 template = @g.send(:template_for, classpage, true, ERB) 171 assert_kind_of ERB, template
|
/macosx-10.9.5/ruby-104/ruby/lib/rdoc/generator/ |
H A D | darkfish.rb | 58 include ERB::Util 651 erb_klass = io_output ? RDoc::ERBIO : ERB 696 def template_for file, page = true, klass = ERB
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/framework/tool/rubycocoa/bin/ |
H A D | rubycocoa | 255 result = ERB.new(tmpl, $SAFE, '-').result(binding) 273 result = ERB.new(tmpl, $SAFE, '-').result(binding) 297 result = ERB.new(tmpl, $SAFE, '-').result(binding)
|
/macosx-10.9.5/ruby-104/ruby/lib/rubygems/ |
H A D | server.rb | 33 include ERB::Util 643 template = ERB.new(DOC_TEMPLATE) 695 template = ERB.new RDOC_NO_DOCUMENTATION 739 template = ERB.new(RDOC_SEARCH_TEMPLATE)
|
/macosx-10.9.5/ruby-104/ruby/test/rss/ |
H A D | rss-testcase.rb | 10 include ERB::Util
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/framework/tool/ |
H A D | rb_nibtool.rb | 296 @class_template = ERB.new(DATA.read, 0, "-")
|
/macosx-10.9.5/emacs-92/emacs/etc/ |
H A D | termcap.src | 9318 :k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:k7=\ERG:\ 12262 :k0=\ERJ:k1=\ERA:k2=\ERB:k3=\ERC:k4=\ERD:k5=\ERE:k6=\ERF:\ 12270 :do=\EB:ho=\EH:k0=\ERA:k1=\ERB:k2=\ERC:k3=\ERD:k4=\ERE:\
|