class Config

Public Class Methods

new(data) click to toggle source
# File lib/webcommand/config.rb, line 4
def initialize(data)
  @data = data.deep_symbolize_keys
end

Public Instance Methods

[](key) click to toggle source
# File lib/webcommand/config.rb, line 8
def [](key)
  @data[key]
end