class

Cu::Config

Inherits TOML::Config < Reference < Object

Constants

FILENAME = ".clickhouse-table.toml"

Constructors

load(path : String | Nil) : Config
Source

Class methods

empty
Source
parse_file(path : String)
Source

Instance methods

clickhouse_client
Source
clickhouse_client=(v : String)
Source
clickhouse_client=(v : Nil)
Source
clickhouse_client?
Source
client
Source
clue
clue=(v : String) : String
clue=(v : Nil)

nil assignments are always ignored

clue?
column
Source
column=(v : String)
Source
column=(v : Nil)
Source
column?
Source
db=(v : String)
Source
db=(v : Nil)
Source
engine
Source
engine=(v : String)
Source
engine=(v : Nil)
Source
engine?
Source
force
Source
force=(v : Bool)
Source
force=(v : Nil)
Source
force?
Source
format
Source
format=(v : String)
Source
format=(v : Nil)
Source
format?
Source
host
Source
host=(v : String)
Source
host=(v : Nil)
Source
host?
Source
nop=(v : Bool)
Source
nop=(v : Nil)
Source
nop?
Source
path
path=(v : String) : String
path=(v : Nil)

nil assignments are always ignored

path?
program
Source
table
Source
table=(v : String)
Source
table=(v : Nil)
Source
table?
Source
to_s(io : IO)

Appends a short String representation of this object which includes its class name and its object address.

class Person
  def initialize(@name : String, @age : Int32)
  end
end

Person.new("John", 32).to_s # => #<Person:0x10a199f20>
Source
verbose
Source
verbose=(v : Bool)
Source
verbose=(v : Nil)
Source
verbose?
Source