Module: TableSetter

Defined in:
lib/table_setter.rb,
lib/table_setter/app.rb,
lib/table_setter/table.rb,
lib/table_setter/command.rb,
lib/table_setter/version.rb

Defined Under Namespace

Classes: App, Command, Table

Constant Summary collapse

ROOT =
File.expand_path(File.dirname(__FILE__) + "/..")
VERSION =
"0.2.12"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.config_pathObject (readonly)

Returns the value of attribute config_path.



30
31
32
# File 'lib/table_setter.rb', line 30

def config_path
  @config_path
end

Class Method Details

.configure(path) ⇒ Object



32
33
34
# File 'lib/table_setter.rb', line 32

def configure(path)
  @config_path = File.expand_path(path)
end

.table_pathObject



36
37
38
# File 'lib/table_setter.rb', line 36

def table_path
  "#{@config_path}/tables/"
end