bin/console in chord-0.0.2 vs bin/console in chord-0.0.3
- old
+ new
@@ -1,12 +1,9 @@
#!/usr/bin/env ruby
require 'bundler/setup'
require 'chord'
-if File.exist?('config.yml')
- require 'yaml'
- CHORD_API_CONFIG = YAML.load(File.read('config.yml'), symbolize_names: true)
-end
+Chord.config_from_file('config.yml')
require 'irb'
IRB.start