Sha256: e627d93cac6735d3d8a1c6cb3948de106970eda609e6a60f117cf9361dc8fc6d
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 Bytes
Contents
# Accepts a parameter name and value and registers it as a default within Capistrano. # Params: # +name+ # +args+ # +block+ def _cset(name, *args, &block) unless exists?(name) set(name, *args, &block) end end # Prompts user entry # Params: # +prompt+ def text_prompt(prompt="Value: ") ui.ask(prompt) { |q| q.echo = true } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capistrano-ash-0.0.12 | lib/ash/common.rb |