1. Home
  2. Computing & Technology
  3. Ruby

Text and Paragraphs

By , About.com Guide

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

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. 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.