Sha256: cd72a638e302d322a5a76cc340df84a4cb725bd775415c0d845fdf3542b1a1df
Contents?: true
Size: 350 Bytes
Versions: 1
Compression:
Stored size: 350 Bytes
Contents
require 'ripple/associations/instantiators' module Ripple module Associations module One include Instantiators def to_a [self] end protected def instantiate_target(instantiator, attrs={}) @target = klass.send(instantiator, attrs) loaded @target end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
seomoz-ripple-1.0.0.pre | lib/ripple/associations/one.rb |