3 def self.sclass_with_block
11 def self.sclass_with_return
20 def self.string_class_variables(obj)
21 obj.class_variables.map { |x| x.to_s }
24 def self.string_instance_variables(obj)
25 obj.instance_variables.map { |x| x.to_s }
35 def self.make_class_variable
39 def self.make_class_instance_variable
45 def make_class_variable
51 def self.cmeth() :cmeth end
55 def smeth() :smeth end
66 def another() :another end
70 def override() :nothing end
71 def override() :override end
87 def self.inherited(sub)
88 track_inherited << sub
91 def self.track_inherited
92 @inherited_modules ||= []
104 def example_instance_method
106 def self.example_class_method
114 # Can't use a method here because of class definition in method body error
115 ANON_CLASS_FOR_NEW = -> do
120 def self.get_class_name
132 def example_instance_method_of_class; end
133 def self.example_class_method_of_class; end
136 def example_instance_method_of_singleton_class; end
137 def self.example_class_method_of_singleton_class; end
140 def example_instance_method_of_object; end
141 def self.example_class_method_of_object; end