quest.rb 269 Bytes
Newer Older
mafolz's avatar
mafolz committed
1
2
3
4
5
6
7
8
9
# enconding: UTF-8

##
# Eine zu lösende Aufgabe, z.B. 'Müll rausbringen' oder 'Boden wischen'
class Quest < ActiveRecord::Base

  validates :points, :title, :presence => true

  validates :points, :numericality => {:greater_than => 0}
surma Lodur's avatar
surma Lodur committed
10
11
12

  def solve(hacker)
  end
mafolz's avatar
mafolz committed
13
end