📁 File Manager Pro
v10.0.2 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 06:56:52
📂
/
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
Module
✏️
Editing: class_variable_defined%3f-i.yaml
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Returns <tt>true</tt> if the given class variable is defined in <em>obj</em>. - !ruby/struct:SM::Flow::VERB body: " class Fred\n @@foo = 99\n end\n Fred.class_variable_defined?(:@@foo) #=> true\n Fred.class_variable_defined?(:@@bar) #=> false\n" full_name: Module#class_variable_defined? is_singleton: false name: class_variable_defined? params: | obj.class_variable_defined?(symbol) => true or false visibility: public
💾 Save Changes
❌ Cancel