관리-도구
편집 파일: 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