Sha256: 36f973ce867c075a0b8639ca08fbdc150e80f6c943c46c5998f65ce0a61a8d89

Contents?: true

Size: 480 Bytes

Versions: 1

Compression:

Stored size: 480 Bytes

Contents

module FZip
  class Adapter
    # Can the node have children
    #
    # Returns true if the node can have even if it currently doesn't.
    def branch?(node)
    end

    # The children of a node
    #
    # Return an array, or an object that responds to first, drop and +
    def children(node)
    end

    # Given a node and an array of children, returns a new branch node of the
    # same type with the supplied children.
    def make_node(node, children)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fzip-0.2.0 lib/fzip/adapter.rb