module Tulipmania
Constants
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/tulipmania.rb, line 96 def self.config @config ||= Configuration.new end
configure() { |config| ... }
click to toggle source
lets you use
Tulipmania.configure do |config| config.address = 'Anne' end
# File lib/tulipmania.rb, line 92 def self.configure yield( config ) end
main()
click to toggle source
add command line binary (tool) e.g. $ try centralbank -h
# File lib/tulipmania.rb, line 102 def self.main Tool.new.run(ARGV) end
root()
click to toggle source
# File lib/tulipmania/version.rb, line 7 def self.root "#{File.expand_path( File.dirname(File.dirname(File.dirname(__FILE__))) )}" end