Skip to content

Commit

Permalink
Move doc comments to the right place. [#44]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Oct 23, 2009
1 parent 39cda94 commit 48062a3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
@@ -1,6 +1,6 @@
# Value object for addresses.

module Acts::Addressed
# Value object for addresses.

class Address
# List of readable attributes.
FIELDS = [:street, :street2, :city, :state, :zip, :coords]
Expand Down
@@ -1,8 +1,8 @@
# This is just like NilClass, but when methods are called on a QuietNil, they just return the QuietNil without raising an exception.
#
# WARNING: This class is easy to abuse. Please resist temptation!

module Acts::Addressed
# This is just like NilClass, but when methods are called on a QuietNil, they just return the QuietNil without raising an exception.
#
# WARNING: This class is easy to abuse. Please resist temptation!

class QuietNil < ActiveSupport::BasicObject
# Implementation is yanked from http://coderrr.wordpress.com/2007/09/15/the-ternary-destroyer/
include Singleton
Expand Down

0 comments on commit 48062a3

Please sign in to comment.