class Treely::Configuration

Attributes

style[R]

Public Class Methods

new() click to toggle source
# File lib/treely/configuration.rb, line 5
def initialize
  @style = {
    :dot         => %{\x2e},
    :space       => %{\x20},
    :new_line    => %{\x0a},
    :bar         => %{│   },
    :indent      => %{    },
    :branch      => %{├── },
    :last_branch => %{└── }
  }
end

Public Instance Methods

transform_style!(&block) click to toggle source
# File lib/treely/configuration.rb, line 17
def transform_style!(&block)
  @style.transform_values!(&block)
end