Sha256: 013b52fc8d2d854b9d02f9751682c8fab4e739dc4bc9ca8e616a57037815b062

Contents?: true

Size: 585 Bytes

Versions: 2

Compression:

Stored size: 585 Bytes

Contents

require 'compo/movable'
require 'compo/parent_tracker'
require 'compo/url_referenceable'

module Compo
  # A movable, URL referenceable parent tracker
  #
  # A Branch represents a fully-featured part of a composite object.  This
  # abstract pattern is implemented concretely by Leaf (a Branch with no
  # children), ArrayBranch (a Branch with a list of numerically identified
  # children), and HashBranch (a Branch with a hash of key-identified children).
  # reports no children.
  module Branch
    include Movable
    include ParentTracker
    include UrlReferenceable
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
compo-0.3.1 lib/compo/branch.rb
compo-0.3.0 lib/compo/branch.rb