Sha256: 5ea576c361ed9b597812360259b42d0ca517cbba9aaa988956cb5562b50a0165

Contents?: true

Size: 488 Bytes

Versions: 2

Compression:

Stored size: 488 Bytes

Contents

# = Entities for the Articles part.
#
#--
# code:
# George Moschovitis  <gm@navel.gr>
#
# (c) 2004 Navel, all rights reserved.
# $Id: entities.rb 87 2004-10-19 17:27:45Z gmosx $
#++

module N

# = Article
#
class Article
	include N::Entity
	include N::CreateTime
	manage {
	prop_accessor String, :title
	prop_accessor String, :body
	}
end

# = Comment
#
class Comment
	include N::Entity
	include N::Child
	include N::CreateTime
	manage {
	prop_accessor String, :body
	}
end

end # module

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
nitro-0.1.2 examples/simple/lib/articles/entities.rb
nitro-0.2.0 examples/simple/lib/articles/entities.rb