Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: a36a23f313

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
lib
spec
README
Rakefile
document.gemspec

README

= document - Simple document class to demonstrate how gems work.

Homepage::  http://eloquentruby.com
Author::    Russ Olsen
Copyright:: (c) 2010 Russ Olsen
License::   MIT

= Document

Document is a simple gem for representing a document, used as a learning tool to get
the hang of doing gems.

== Installing

Document can be installed via RubyGems:

  gem install document

== Using Document

Document just holds an author, a title and some content:
  doc = Document.new( 'Eloquent Ruby', 'Russ Olsen', 'Some years ago...' )
  puts doc.title
  puts doc.author
  puts doc.content
Something went wrong with that request. Please try again.