Method: Configgler::Config::ConfigElement#get_by_array
- Defined in:
- lib/configgler/config.rb
#get_by_array(args) ⇒ Object
52 53 54 55 56 57 58 |
# File 'lib/configgler/config.rb', line 52 def get_by_array(args) c = @element[args.shift.to_s] until args.length == 0 c = c[args.shift.to_s] end c end |