AlkantarClanX12
Current Path : /opt/alt/ruby18/share/ri/1.8/system/Module/ |
Current File : //opt/alt/ruby18/share/ri/1.8/system/Module/attr_accessor-i.yaml |
--- !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