Soldato
- Joined
- 24 Nov 2002
- Posts
- 16,378
- Location
- 38.744281°N 104.846806°W
Is it possible to access a function defined/filled array from outside the function?
e.g.
e.g.
Code:
def foo()
arr = [blah blah blah]
end
foo()
puts arr