Class: Safely::Config
- Inherits:
-
Object
- Object
- Safely::Config
- Defined in:
- lib/safely/config.rb
Instance Attribute Summary collapse
-
#strategies ⇒ Object
readonly
List of strategies to use.
Instance Method Summary collapse
- #hoptoad_key ⇒ Object
- #hoptoad_key=(key) ⇒ Object
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
Instance Attribute Details
#strategies ⇒ Object (readonly)
List of strategies to use
5 6 7 |
# File 'lib/safely/config.rb', line 5 def strategies @strategies end |
Instance Method Details
#hoptoad_key ⇒ Object
15 16 17 18 |
# File 'lib/safely/config.rb', line 15 def hoptoad_key $stderr.write "DEPRECATED: Call Safely::Strategy::Hoptoad.hoptoad_key" Safely::Strategy::Hoptoad.hoptoad_key end |
#hoptoad_key=(key) ⇒ Object
20 21 22 23 |
# File 'lib/safely/config.rb', line 20 def hoptoad_key=( key ) $stderr.write "DEPRECATED: Call Safely::Strategy::Hoptoad.hoptoad_key=" Safely::Strategy::Hoptoad.hoptoad_key=( key ) end |