Method: Ircbot::Client::Config.read_yml
- Defined in:
- lib/ircbot/client/config.rb
.read_yml(path) ⇒ Object
21 22 23 24 25 |
# File 'lib/ircbot/client/config.rb', line 21 def self.read_yml(path) require 'yaml' path = Pathname(path) YAML.load(path.read{}) end |