Implement `get' task keyword, fetch from registry

This commit is contained in:
Thibault Jouan committed 2014-01-21 17:31:32 +00:00
1 parent f92ad8128d
commit 456ed17724
3 files changed
+25

No files matched your search

+4
View File
@@ -37,6 +37,10 @@ module Producer
def ask(question, choices, prompter: Prompter)
prompter.new(env.input, env.output).prompt(question, choices)
end
def get(key)
env[key]
end
end
end
end