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

Class Method Summary

Class Attribute Details

+ (Object) config_path (readonly)

Returns the value of attribute config_path



21
22
23
# File 'lib/table_setter.rb', line 21

def config_path
  @config_path
end

Class Method Details

+ (Object) configure(path)



23
24
25
# File 'lib/table_setter.rb', line 23

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

+ (Object) table_path



27
28
29
# File 'lib/table_setter.rb', line 27

def table_path
  @config_path + "/tables/"
end