repo.or.cz
/
emacs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove 'def X' from the example
[emacs.git]
/
test
/
etags
/
ruby-src
/
test1.ru
blob
93888c1040b6eaf0a6e76d072e8b080e6ca811a0
1
class A
2
def a()
3
super(" do ")
4
end
5
def b()
6
end
7
end
8
9
module A
10
class B
11
ABC = 4
12
Def_ = 'blah'
13
Xyzzy =10
14
15
def foo!
16
end
17
18
def self._bar?(abc)
19
end
20
21
class << self
22
def qux=(tee)
23
end
24
end
25
26
attr_reader :foo
27
attr_reader :read1 , :read2; attr_writer :write1, :write2
28
attr_writer :bar,
29
:baz,
30
:more
31
attr_accessor :tee
32
alias_method :qux, :tee, attr_accessor :bogus
33
alias_method :xyz,
34
:tee ; attr_reader :subtle
35
end
36
end
37
38
A::Constant = 5
39
40
# def foo_in_comment
41
# end