Sha256: 31fc487725a2bec97f13e968f4879cdca5c8e3b046ee29ab71ce8f04fca6c941
Contents?: true
Size: 310 Bytes
Versions: 1
Compression:
Stored size: 310 Bytes
Contents
class Version < ActiveRecord::Base belongs_to :versioned, :polymorphic => true serialize :changes, Hash alias_attribute :version, :number def <=>(other) number <=> other.number end def <(other) number < other.number end def >(other) number > other.number end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
laserlemon-vestal_versions-0.4.1 | lib/version.rb |