annotate test/exemplars/watcher_exemplar.rb @ 285:fa07572ee073 bug_95

Layout changes: indent as block instead of just first line; loosen spacing at bottom of explanatory labels
author Chris Cannam <chris.cannam@soundsoftware.ac.uk>
date Wed, 23 Mar 2011 11:31:14 +0000
parents 513646585e45
children
rev   line source
Chris@0 1 class Watcher < ActiveRecord::Base
Chris@0 2 generator_for :user, :method => :generate_user
Chris@0 3
Chris@0 4 def self.generate_user
Chris@0 5 User.generate_with_protected!
Chris@0 6 end
Chris@0 7 end