1. Home
  2. Computing & Technology
  3. Ruby

Text and Paragraphs

By Amanda & Michael Morin, About.com

1 of 4

A Paragraph

Since the Shoes GUI is so heavily inspired by the World Wide Web and HTML, it provides a good selection of elements with which you can display text. For all of these types of text, the para method can be used to create the container .

Shoes.app :width => 400, :height => 340 do
  para "This is a paragraph"
end
Explore Ruby
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Ruby
  4. GUI
  5. Shoes
  6. Text and Paragraphs

©2009 About.com, a part of The New York Times Company.

All rights reserved.