Module: Xpring
- Defined in:
- lib/xpring.rb,
lib/xpring/util.rb,
lib/xpring/error.rb,
lib/xpring/client.rb,
lib/xpring/signer.rb,
lib/xpring/wallet.rb,
lib/xpring/version.rb,
lib/xpring/javascript.rb
Overview
Defined Under Namespace
Modules: Javascript, Signer, Util
Classes: Client, Error, Wallet
Constant Summary
collapse
- VERSION =
"0.2.1"
Class Method Summary
collapse
Class Method Details
.debug? ⇒ true, false
14
15
16
|
# File 'lib/xpring.rb', line 14
def self.debug?
@debug
end
|
.debug_log(value) ⇒ nil
25
26
27
|
# File 'lib/xpring.rb', line 25
def self.debug_log(value)
puts value if debug?
end
|
.toggle_debug! ⇒ true, false
19
20
21
|
# File 'lib/xpring.rb', line 19
def self.toggle_debug!
@debug = !@debug
end
|