Class: Crypto::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/crypto-lite/config.rb

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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

Returns:

  • (Boolean)


9
# File 'lib/crypto-lite/config.rb', line 9

def debug?()         @debug || false; end