Sha256: e1e2731a54e7dca66365035f736ddabdddb1757634775a6fdf4c4d720f53cf39
Contents?: true
Size: 538 Bytes
Versions: 8
Compression:
Stored size: 538 Bytes
Contents
require 'characterizable' module BrighterPlanet module Pet module Characterization def self.included(base) base.send :include, Characterizable base.characterize do has :species do |species| species.reveals :breed end has :gender has :weight, :range => :weight_range.to_proc, :measures => :mass has :acquisition # TODO andy test start year has :retirement end base.add_implicit_characteristics end end end end
Version data entries
8 entries across 8 versions & 1 rubygems