lib/exercism.rb in exercism-0.0.2 vs lib/exercism.rb in exercism-0.0.3
- old
+ new
@@ -28,13 +28,14 @@
Config.write(home, data)
User.new(github_username, key)
end
def self.config
- @config ||= Config.read(home)
+ Config.read(home)
end
def self.user
- User.new(config.github_username, config.key)
+ c = config
+ User.new(c.github_username, c.key)
end
end