Treat the "h" extension as a C++ file
[geany-mirror.git] / tests / ctags / simple.rb
blob2bf778edd28aea1a8460032d461ad89434ad0b54
1 #!/usr/bin/ruby
3 module ModuleExample
4     class ClassExample
5         def class_method
6             puts "in class_method"
7         end
8         def ClassExample.singleton_class_method
9             puts "in singleton_class_method"
10         end
11         def class_method_exclamation!
12             puts "in class_method_exclamation!"
13         end
14         def class_method_question?
15             puts "in class_method_question?"
16         end
17         def `(command)
18             return "just testing a backquote override"
19         end
20     end
21     def module_method
22         puts "in module_method"
23     end
24     def ModuleExample.singleton_module_method
25         puts "in singleton_module_method"
26     end
27 end
29 ModuleExample::ClassExample.singleton_class_method