Sha256: 50ae2faffde16f60328ec840a20ec835e3b0ef8af6d0cc03476dc6103a17ff9b

Contents?: true

Size: 318 Bytes

Versions: 1

Compression:

Stored size: 318 Bytes

Contents

module TodoModel
  class Todo<PersistentObject
    attr_reader :name
    attr_reader :creationDate
    attr_writer :name
    attr_reader :project

    attr_reader :comments
    def initialize(store,project=nil)
      super(store)
      @project=project
      @comments=[]
      @creationDate=Time.now
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
appswarm-0.0.1 apps/todo/model/todo.rb