repo.or.cz
/
ruby-svn.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
* io.c (rb_open_file): encoding in mode string was ignored if perm is
[ruby-svn.git]
/
sample
/
drb
/
dqlib.rb
blob
75f2e6115b782931e83697a96d159c60a7065209
1
class DQEntry
2
def initialize(name)
3
@name = name
4
end
5
6
def greeting
7
"Hello, This is #{@name}."
8
end
9
alias to_s greeting
10
end
11
12
if __FILE__ == $0
13
puts DQEntry.new('DQEntry')
14
end