Module: TableSetter

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

Defined Under Namespace

Classes: App, Command, Table

Constant Summary

ROOT =
File.expand_path(File.dirname(__FILE__) + "/..") unless defined? ROOT

Class Attribute Summary (collapse)

Class Method Summary (collapse)

Class Attribute Details

+ (Object) config_path (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

+ (Object) configure(path)



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

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

+ (Object) table_path



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

def table_path
  @config_path + "/tables/"
end