repo.or.cz
/
decorate.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Add enough infrastructure for private_method decorator.
[decorate.git]
/
test.rb
blob
523506396f30fbdb7e90326ef295f4a0a4e20da9
1
$:.unshift "lib"
2
3
require "decorate/private_method"
4
5
class Foo
6
def foo
7
puts "foo"
8
bar
9
end
10
private_method
11
def bar
12
puts "bar"
13
end
14
end