module Centralbank

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/centralbank.rb, line 89
def self.config
  @config ||= Configuration.new
end
configure() { |config| ... } click to toggle source

lets you use

Centralbank.configure do |config|
   config.address = 'Sepp'
end
# File lib/centralbank.rb, line 85
def self.configure
  yield( config )
end
main() click to toggle source

add command line binary (tool) e.g. $ try centralbank -h

# File lib/centralbank.rb, line 95
def self.main
 Tool.new.run(ARGV)
end
root() click to toggle source
# File lib/centralbank/version.rb, line 7
def self.root
  File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )
end