Created
November 27, 2010 01:10
-
-
Save jm/717437 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# things.rb - a superfun time library | |
# | |
# Author: Jeremy McAnally 1998-2010 | |
# | |
# Documentation: Mr. Jeremy McAnally | |
# | |
#-- | |
# $Id: things.rb,v 2.22 2009-01-17 20:16:31+09 tadf Exp $ | |
#++ | |
# | |
# | |
# = things.rb - A library for Fun | |
# | |
# A one sentence description. | |
# | |
# == Overview | |
# | |
# A detailed description of the purpose of the library and its general usage patterns. | |
# | |
# == Usage | |
# | |
# === Subtask (e.g., "Reading files") | |
# | |
# # Short, one-off examples | |
# puts 'Quick!" | |
# | |
# === Subtask (e.g., "Reading files") | |
# | |
# # Short, one-off examples | |
# puts 'Quick!" | |
# | |
# == Examples | |
# | |
# If required, long-form examples showing "real" use cases. | |
# | |
# == Core extensions | |
# | |
# Documentation of any core extensions this file/module/class adds. | |
# | |
class Foo | |
# A method to do something spectacular. | |
# | |
# === Examples | |
# | |
# foobert("fail", "win") | |
# # => "The opposite of fail, is win." | |
# | |
# === Arguments | |
# | |
# * +one+ - The first thing | |
# * +two+ - The other things | |
# | |
def foobert(one, two) | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment