Class: Crypto::Configuration
- Inherits:
-
Object
- Object
- Crypto::Configuration
- Defined in:
- lib/crypto-lite/config.rb
Instance Method Summary collapse
- #debug=(value) ⇒ Object
- #debug? ⇒ Boolean
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
5 6 7 |
# File 'lib/crypto-lite/config.rb', line 5 def initialize @debug = false end |
Instance Method Details
#debug=(value) ⇒ Object
10 |
# File 'lib/crypto-lite/config.rb', line 10 def debug=(value) @debug = value; end |
#debug? ⇒ Boolean
9 |
# File 'lib/crypto-lite/config.rb', line 9 def debug?() @debug || false; end |