D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Module
/
Filename :
attr_accessor-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Equivalent to calling ``<tt>attr</tt><em>symbol</em><tt>, true</tt>'' on each <em>symbol</em> in turn. - !ruby/struct:SM::Flow::VERB body: " module Mod\n attr_accessor(:one, :two)\n end\n Mod.instance_methods.sort #=> ["one", "one=", "two", "two="]\n" full_name: Module#attr_accessor is_singleton: false name: attr_accessor params: | attr_accessor(symbol, ...) => nil visibility: public