Sha256: 114e2d661940c8d7b69aa250e6bd3c0a83e7d323069db2755eeec58c6d2a351e
Contents?: true
Size: 300 Bytes
Versions: 8
Compression:
Stored size: 300 Bytes
Contents
module SimpleBioC class Node attr_accessor :refid, :role attr_reader :ref, :relation def initialize(parent) @relation = parent end def adjust_ref @ref = @relation.document.find_node(@refid) end def to_c "Node @#{@refid}: #{@role})" end end end
Version data entries
8 entries across 8 versions & 1 rubygems