Sha256: 230d1d4ca27c591a7808f5a3932f6ecb5a73ebb8df49b076b859c8b76cd3e93a

Contents?: true

Size: 162 Bytes

Versions: 1

Compression:

Stored size: 162 Bytes

Contents

module Phlex
  module Node
    include Callable

    def children
      @_children ||= []
    end

    def call
      children.map(&:call).join
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phlex-0.1.0 lib/phlex/node.rb