⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
ERB
/
DefMethod
/
View File Name :
cdesc-DefMethod.ri
U:RDoc::NormalModule[iI"DefMethod:ETI"ERB::DefMethod;T0o:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I">Utility module to define eRuby script as instance method.;To:RDoc::Markup::BlankLine S:RDoc::Markup::Heading: leveli: textI"Example;T@o; ;[I"example.rhtml:;To:RDoc::Markup::Verbatim;[I"<% for item in @items %> ;TI"<b><%= item %></b> ;TI"<% end %> ;T:@format0o; ;[I"example.rb:;To;;[I"require 'erb' ;TI"class MyClass ;TI" extend ERB::DefMethod ;TI"3 def_erb_method('render()', 'example.rhtml') ;TI" def initialize(items) ;TI" @items = items ;TI" end ;TI" end ;TI",print MyClass.new([10,20,30]).render() ;T;0o; ;[I"result:;T@o;;[ I"<b>10</b> ;TI" ;TI"<b>20</b> ;TI" ;TI"<b>30</b>;T;0: @fileI"lib/erb.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [ [ [[I" class;T[[:public[[I"def_erb_method;TI"lib/erb.rb;T[:protected[ [:private[ [I" instance;T[[;[ [;[ [;[[@>@?[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@3I"ERB;TcRDoc::NormalClass