Sign in
eclipse
/
dltk
/
org.eclipse.dltk.ruby
/
0da76535d5c9898f6ea327dde8648405d17f2ccd
/
.
/
tests
/
org.eclipse.dltk.ruby.core.tests
/
workspace
/
completion
/
src
/
b180162_01.rb
blob: 777ce7352ae1087105c1073c33938fbede47e191 [
file
] [
log
] [
blame
]
class
Test
def
initialize
(
index
)
@data
=
{
1
=>
'one'
,
2
=>
'two'
}
@index
=
index
end
def
print
puts
@data
[
@i
]
end
end
t
=
Test
.
new
(
1
)
t
.
print