Sha256: 3a71b94e5d9013106f499d806f13c0462aa9ed57e585c0154c871c808cd683cc
Contents?: true
Size: 578 Bytes
Versions: 14
Compression:
Stored size: 578 Bytes
Contents
# -*- coding: utf-8 -*- module DataMapper module Validations module Fixtures class PieceOfSoftware # # Behaviors # include DataMapper::Validations # # Attributes # attr_accessor :name, :operating_system # # Validations # # # API # def initialize(attributes = {}) attributes.each do |key, value| self.send("#{key}=", value) end end end end # Fixtures end # Validations end # DataMapper
Version data entries
14 entries across 14 versions & 2 rubygems