Module: ToTubePrompter
- Included in:
- Resources::Tube
- Defined in:
- lib/pvdgm-bs-client/prompters/to_tube_prompter.rb
Instance Method Summary collapse
Instance Method Details
#to_tube_name(allow_none = false) ⇒ Object
3 4 5 6 7 |
# File 'lib/pvdgm-bs-client/prompters/to_tube_prompter.rb', line 3 def to_tube_name(allow_none=false) return [:to_tube] if [:to_tube] return [:to_tube] = ENV['TO_TUBE_NAME'] if ENV['TO_TUBE_NAME'] return [:to_tube] = prompt_for_to_tube_name(allow_none) end |