Sha256: 1137ba167b2df57e61c337a6af901ed532e7131030125a33e43132c39a7382a4

Contents?: true

Size: 221 Bytes

Versions: 1

Compression:

Stored size: 221 Bytes

Contents

require 'util/visitor'
require 'rockit/tree/base'

module Rockit::Tree
  class Base
    include Visitable
    
    def accept_visitor(visitor)
      visitor.visit_me_and_my_children(self, self.children)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rockit-0.7.1 lib/rockit/tree/visitor.rb