Sha256: 14e51679b28c40149525aed19c33ac0f47e4bfaf5dead0aabbdae1d68a6cb357
Contents?: true
Size: 442 Bytes
Versions: 5
Compression:
Stored size: 442 Bytes
Contents
module RailsClafer class RefClafer class << self def from_assoc(assoc, type_clafer) new assoc.ref_name, type_clafer, assoc.dst_card end end attr_accessor :ref_name, :clafer, :card, :gcard, :constraint def initialize(ref_name, type_clafer, card) @ref_name, @clafer= ref_name, type_clafer @card = card @gcard = GCard.new end def clafer_name @clafer.name end end end
Version data entries
5 entries across 5 versions & 1 rubygems