Sha256: 5d43217ba60f198c4670ffb2079014c2167e384e9613a422e6a576f551ea9993

Contents?: true

Size: 365 Bytes

Versions: 2

Compression:

Stored size: 365 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/yaml'

Entry = Ramaze::Store::YAML.new :entry

if Entry.empty?
  entry = Entry.new
  entry.time = Time.now
  entry.title = 'Nothing special'
  entry.text = 'even less special'
  entry.save
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ramaze-0.0.9 examples/blog/src/model.rb
ramaze-0.0.8 examples/blog/src/model.rb