Sha256: e3399c4155cc2cb3d5dc96c154ae2c3b739ef70a154978c6ab5162a9ab041297

Contents?: true

Size: 376 Bytes

Versions: 4

Compression:

Stored size: 376 Bytes

Contents

#          Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

require 'ramaze/store/default'

TodoList = Ramaze::Store::Default.new('todolist.db')

{
  'Laundry'     => {:done => false},
  'Wash dishes' => {:done => false},

}.each do |task, parameters|
  TodoList[task] = parameters
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ramaze-0.0.9 examples/todolist/src/model.rb
ramaze-0.0.8 examples/todolist/src/model.rb
ramaze-0.1.1 examples/todolist/src/model.rb
ramaze-0.1.0 examples/todolist/src/model.rb