$12 GRAYBYTE WORDPRESS FILE MANAGER $12

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby18/share/ri/1.8/system/ERB/

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/ERB//def_class-i.yaml
--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Define unnamed class which has <em>methodname</em> as instance method, and return it.
- !ruby/struct:SM::Flow::P 
  body: "example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  class MyClass_\n    def initialize(arg1, arg2)\n      @arg1 = arg1;  @arg2 = arg2\n    end\n  end\n  filename = 'example.rhtml'  # @arg1 and @arg2 are used in example.rhtml\n  erb = ERB.new(File.read(filename))\n  erb.filename = filename\n  MyClass = erb.def_class(MyClass_, 'render()')\n  print MyClass.new('foo', 123).render()\n"
full_name: ERB#def_class
is_singleton: false
name: def_class
params: (superklass=Object, methodname='result')
visibility: public


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Compiler
--
3 Mar 2024 10.50 PM
root / linksafe
0755
DefMethod
--
3 Mar 2024 10.50 PM
root / linksafe
0755
Util
--
3 Mar 2024 10.50 PM
root / linksafe
0755
cdesc-ERB.yaml
8.959 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
def_class-i.yaml
0.732 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
def_method-i.yaml
0.615 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
def_module-i.yaml
0.628 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
2.684 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
result-i.yaml
0.524 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
run-i.yaml
0.255 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
set_eoutvar-i.yaml
0.427 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
version-c.yaml
0.247 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF