Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Nesting in Ruby code?

Status
Not open for further replies.

gargamel100

Technical User
Oct 25, 2006
31
CZ
Hi people,

I started to learn Ruby programming and I wtite ruby programs using vi editor.
When I write and hit enter I go to next line and I got program code like
line1
line2
line3
...
...
Is there any feature in ruby or vi to get program code like
line1
line2
line3
line4

.....
end
end
I found this somehwere on net I mean is possible make nesting in ruby code. Obviously is but I do not know how?

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top