Module: MastercoinWallet
- Defined in:
- lib/mastercoin-wallet.rb,
lib/mastercoin-wallet/util.rb,
lib/mastercoin-wallet/config.rb,
lib/mastercoin-wallet/builder.rb,
lib/mastercoin-wallet/models/address.rb,
lib/mastercoin-wallet/network/wallet.rb,
lib/mastercoin-wallet/gui/main_window.rb,
lib/mastercoin-wallet/models/transaction.rb,
lib/mastercoin-wallet/gui/first_run_window.rb,
lib/mastercoin-wallet/models/selling_offer.rb,
lib/mastercoin-wallet/network/selling_offer.rb,
lib/mastercoin-wallet/gui/simple_send_window.rb,
lib/mastercoin-wallet/gui/bitcoin_offer_window.rb,
lib/mastercoin-wallet/gui/selling_offer_window.rb,
lib/mastercoin-wallet/gui/purchase_offer_window.rb
Defined Under Namespace
Modules: Builder, Models, Network, Util
Classes: Address, BitcoinOfferWindow, Config, FirstRunWindow, MainWindow, PurchaseOfferWindow, SellingOfferWindow, SimpleSendWindow, Transaction
Constant Summary
collapse
- CONFIG_PATH =
"#{Dir.home}/.mastercoin-wallet/"
- FILE_PATH =
CONFIG_PATH + "config.json"
Class Method Summary
collapse
Class Method Details
.init_logger(level = Logger::DEBUG) ⇒ Object
62
63
64
65
66
|
# File 'lib/mastercoin-wallet.rb', line 62
def self.init_logger(level = Logger::DEBUG)
@@log ||= Logger.new(CONFIG_PATH + "/debug.log")
@@log.level = level
@@log
end
|