Sha256: 33cbf69e7503beabc0448f9de1e9684a365693a7cb076eba1694bda61d0ebe8e

Contents?: true

Size: 378 Bytes

Versions: 1

Compression:

Stored size: 378 Bytes

Contents

require 'version'
require 'super_model/validations'
require 'super_model/associations'

# TODO: SuperModel DESCRIPTION HERE!
# 
# Objects can subclass SuperModel.
class SuperModel
  
  is_versioned
  
  extend SuperModel::Associations
  extend SuperModel::Validations
  
  def initialize(attributes={})
    attributes.each { |name, value| send("#{name}=", value) }
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
super_model-0.0.1 lib/super_model.rb