Class: Conjur::Config
- Inherits:
-
Object
- Object
- Conjur::Config
- Defined in:
- lib/conjur/config.rb
Constant Summary collapse
- @@attributes =
{}
Class Method Summary collapse
Class Method Details
.[](key) ⇒ Object
44 45 46 |
# File 'lib/conjur/config.rb', line 44 def [](key) @@attributes[key.to_s] end |
.inspect ⇒ Object
26 27 28 |
# File 'lib/conjur/config.rb', line 26 def inspect @@attributes.inspect end |
.merge(a) ⇒ Object
39 40 41 42 |
# File 'lib/conjur/config.rb', line 39 def merge(a) a = {} unless a @@attributes.merge!(a) end |
.plugins ⇒ Object
30 31 32 33 34 35 36 37 |
# File 'lib/conjur/config.rb', line 30 def plugins plugins = @@attributes['plugins'] if plugins plugins.is_a?(Array) ? plugins : plugins.split(',') else [] end end |