Title / Description
Code (2..@num).each do |t| # an array of the number range 2-number given range<<t end (2..@num).each do |t| # an array of the number range 2-number given range<<t end class Poem def initialize @text = <<END "Faith" is a fine invention When Gentlemen can see But Microscopes are prudent In an Emergency. (Emily Dickinson 1830-1886) END end def recite puts @text end end
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code