Skip to content

Commit

Permalink
Schedule #plan with weekday date
Browse files Browse the repository at this point in the history
  • Loading branch information
gsterndale committed May 18, 2010
1 parent 062a91f commit a33a0d9
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/schedule.rb
Expand Up @@ -3,7 +3,11 @@ class Schedule
attr_accessor :date

def plan
'No plan'
if self.date.is_a? Time
'Hack'
else
'No plan'
end
end

end

0 comments on commit a33a0d9

Please sign in to comment.