Linux server1.dn-server.com 4.18.0-553.89.1.lve.el8.x86_64 #1 SMP Wed Dec 10 13:58:50 UTC 2025 x86_64
LiteSpeed
Server IP : 195.201.204.189 & Your IP : 216.73.216.37
Domains :
Cant Read [ /etc/named.conf ]
User : beriska1
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
alt /
ruby19 /
share /
ri /
1.9.1 /
system /
ERB /
Delete
Unzip
Name
Size
Permission
Date
Action
DefMethod
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
Util
[ DIR ]
drwxr-xr-x
2026-05-01 04:24
cdesc-ERB.ri
8.22
KB
-rw-r--r--
2023-07-26 17:26
def_class-i.ri
749
B
-rw-r--r--
2023-07-26 17:26
def_method-i.ri
598
B
-rw-r--r--
2023-07-26 17:26
def_module-i.ri
630
B
-rw-r--r--
2023-07-26 17:26
filename-i.ri
256
B
-rw-r--r--
2023-07-26 17:26
new-c.ri
2.55
KB
-rw-r--r--
2023-07-26 17:26
result-i.ri
523
B
-rw-r--r--
2023-07-26 17:26
run-i.ri
237
B
-rw-r--r--
2023-07-26 17:26
set_eoutvar-i.ri
412
B
-rw-r--r--
2023-07-26 17:26
src-i.ri
190
B
-rw-r--r--
2023-07-26 17:26
version-c.ri
230
B
-rw-r--r--
2023-07-26 17:26
Save
Rename
U:RDoc::AnyMethod[iI"new:EFI" ERB::new;FT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"FConstructs a new ERB object with the template specified in _str_.;To:RDoc::Markup::BlankLine o; ; [ I"JAn ERB object works by building a chunk of Ruby code that will output;TI"Pthe completed template when run. If _safe_level_ is set to a non-nil value,;TI"KERB code will be run in a separate thread with <b>$SAFE</b> set to the;TI"provided level.;T@o; ; [I"NIf _trim_mode_ is passed a String containing one or more of the following;TI">modifiers, ERB will adjust its code generation as listed:;T@o:RDoc::Markup::Verbatim; [I"@% enables Ruby code processing for lines beginning with % ;FI"A<> omit newline for lines starting with <% and ending in %> ;FI",> omit newline for lines ending in %> ;Fo; ; [ I"L_eoutvar_ can be used to set the name of the variable ERB will build up;TI"Eits output in. This is useful when you need to run multiple ERB;TI"Mtemplates through the same binding and/or when you want to control where;TI"Ooutput ends up. Pass the name of the variable to be used inside a String.;T@S:RDoc::Markup::Heading: leveli: textI"Example;T@o;; ['I"require "erb" ;FI" ;FI"# build data class ;FI"class Listings ;FI"3 PRODUCT = { :name => "Chicken Fried Steak", ;FI"J :desc => "A well messages pattie, breaded and fried.", ;FI"# :cost => 9.95 } ;FI" ;FI"$ attr_reader :product, :price ;FI" ;FI"2 def initialize( product = "", price = "" ) ;FI" @product = product ;FI" @price = price ;FI" end ;FI" ;FI" def build ;FI" b = binding ;FI"C # create and run templates, filling member data variables ;FI"P ERB.new(<<-'END_PRODUCT'.gsub(/^\s+/, ""), 0, "", "@product").result b ;FI"! <%= PRODUCT[:name] %> ;FI"! <%= PRODUCT[:desc] %> ;FI" END_PRODUCT ;FI"L ERB.new(<<-'END_PRICE'.gsub(/^\s+/, ""), 0, "", "@price").result b ;FI": <%= PRODUCT[:name] %> -- <%= PRODUCT[:cost] %> ;FI"! <%= PRODUCT[:desc] %> ;FI" END_PRICE ;FI" end ;FI" end ;FI" ;FI"# setup template data ;FI"listings = Listings.new ;FI"listings.build ;FI" ;FI"3puts listings.product + "\n" + listings.price ;Fo; ; [I"_Generates_;T@o;; [ I"Chicken Fried Steak ;FI"0A well messages pattie, breaded and fried. ;FI" ;FI"!Chicken Fried Steak -- 9.95 ;FI"/A well messages pattie, breaded and fried.;F: @file000[ I"<(str, safe_level=nil, trim_mode=nil, eoutvar='_erbout');TI"lib/erb.rb;T