Sha256: 839f363c1007bed2db3d7878b42e0b082993e6c09aa0c08b3a0df9a6bea66a36

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

require 'model/project.rb'
require 'model/todo.rb'
require 'model/comment.rb'

class TodoApp<HTTPApp
  requires :localObjectStorage
  def initialize(cluster,ops)
    super

    #p=TodoModel::Project.new(store)
    #p.name="MyProject"
    #p.save
  end
  def run
    provides :todo
    super
  end
  def store
    getApp(:localObjectStorage)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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