lib/jenkins/builder/config.rb in jenkins-builder-0.1.1 vs lib/jenkins/builder/config.rb in jenkins-builder-0.1.2
- old
+ new
@@ -15,9 +15,17 @@
else
init
end
end
+ def [](k)
+ @config[k]
+ end
+
+ def []=(k, v)
+ @config[k] = v
+ end
+
def username
@config['username']
end
def username=(name)