lib/whatsup_github/runner.rb in whatsup_github-0.1.1 vs lib/whatsup_github/runner.rb in whatsup_github-0.2.0
- old
+ new
@@ -12,10 +12,10 @@
@config = Config.instance
@content ||= @generator.content
end
def run
- format = @config.read 'output_format'
+ format = @config.output_format
raise 'Cannot find "output_format" in config.yml' unless format
table if format.include? 'markdown'
data if format.include? 'yaml'
end