$45 GRAYBYTE WORDPRESS FILE MANAGER $39

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.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

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

HOME
Current File : /opt/alt/ruby18/share/ri/1.8/system/OpenStruct//cdesc-OpenStruct.yaml
--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: new
comment: 
- !ruby/struct:SM::Flow::P 
  body: "OpenStruct allows you to create data objects and set arbitrary attributes. For example:"
- !ruby/struct:SM::Flow::VERB 
  body: "  require 'ostruct'\n\n  record = OpenStruct.new\n  record.name    = "John Smith"\n  record.age     = 70\n  record.pension = 300\n\n  puts record.name     # -> "John Smith"\n  puts record.address  # -> nil\n"
- !ruby/struct:SM::Flow::P 
  body: It is like a hash with a different way to access the data. In fact, it is implemented with a hash, and you can initialize it with one.
- !ruby/struct:SM::Flow::VERB 
  body: "  hash = { "country" => "Australia", :population => 20_000_000 }\n  data = OpenStruct.new(hash)\n\n  p data        # -> <OpenStruct country="Australia" population=20000000>\n"
constants: []

full_name: OpenStruct
includes: []

instance_methods: 
- !ruby/object:RI::MethodSummary 
  name: ==
- !ruby/object:RI::MethodSummary 
  name: delete_field
- !ruby/object:RI::MethodSummary 
  name: initialize_copy
- !ruby/object:RI::MethodSummary 
  name: inspect
- !ruby/object:RI::MethodSummary 
  name: marshal_dump
- !ruby/object:RI::MethodSummary 
  name: marshal_load
- !ruby/object:RI::MethodSummary 
  name: modifiable
- !ruby/object:RI::MethodSummary 
  name: new_ostruct_member
- !ruby/object:RI::MethodSummary 
  name: to_s
name: OpenStruct
superclass: Object


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
%3d%3d-i.yaml
0.25 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
cdesc-OpenStruct.yaml
1.509 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
delete_field-i.yaml
0.256 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
initialize_copy-i.yaml
0.262 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
inspect-i.yaml
0.312 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
marshal_dump-i.yaml
0.178 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
marshal_load-i.yaml
0.179 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
modifiable-i.yaml
0.177 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new-c.yaml
0.698 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
new_ostruct_member-i.yaml
0.193 KB
26 Jul 2023 1.47 PM
root / linksafe
0644
to_s-i.yaml
0.218 KB
26 Jul 2023 1.47 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF