Module: TreeStand

Extended by:
T::Sig
Defined in:
lib/tree_stand.rb,
lib/tree_stand/cli.rb,
lib/tree_stand/node.rb,
lib/tree_stand/tree.rb,
lib/tree_stand/range.rb,
lib/tree_stand/config.rb,
lib/tree_stand/parser.rb,
lib/tree_stand/version.rb,
lib/tree_stand/visitor.rb,
lib/tree_stand/cli/options.rb,
lib/tree_stand/ast_modifier.rb,
lib/tree_stand/visitors/tree_walker.rb,
lib/tree_stand/breadth_first_visitor.rb

Overview

typed: true

Defined Under Namespace

Modules: Visitors Classes: AstModifier, BreadthFirstVisitor, Config, Error, InvalidDocument, Node, NodeNotFound, Parser, Range, Tree, Visitor

Constant Summary collapse

VERSION =

The current version of the gem.

'0.2.0'

Class Method Summary collapse

Class Method Details

.configObject



46
47
48
# File 'lib/tree_stand.rb', line 46

def config
  @config ||= Config.new
end

.configure(&block) ⇒ Object



41
42
43
# File 'lib/tree_stand.rb', line 41

def configure(&block)
  instance_eval(&block)
end