]>
code.delx.au - gnu-emacs/blob - test/manual/etags/ruby-src/test.rb
6 def ClassExample
.singleton_class_method
7 puts
"in singleton_class_method"
9 def class_method_exclamation
!
10 puts
"in class_method_exclamation!"
12 def class_method_question
?
13 puts
"in class_method_question?"
15 def class_method_equals
=
16 puts
"in class_method_equals="
19 return "just testing a backquote override"
34 @ary.length == y.ary.length
37 '@ary.length < y.ary.length'
47 puts "in module_method"
49 def ModuleExample.singleton_module_method
50 puts "in singleton_module_method"
54 ModuleExample::ClassExample.singleton_class_method