Sha256: 0b8f6d506a4de1459b2c060b8b28aac6a077d18f68bd3a2a6ff87ce9b8e8d23d

Contents?: true

Size: 353 Bytes

Versions: 1

Compression:

Stored size: 353 Bytes

Contents

module TodoModel
  class Project<PersistentObject
    attr_reader :todos
    #attr_accessor :name
    attr_reader :name
    attr_writer :name
    attr_reader :creationDate

    def initialize(store)
      super
      @todos=[]
      @name="-noname-"
      @creationDate=Time.now
    end

    def createTodo
      Todo.new(myStore,self)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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