Class: NamePromptSource
- Inherits:
-
NameSource
- Object
- NameSource
- NamePromptSource
- Defined in:
- lib/namesource.rb
Instance Method Summary collapse
Methods inherited from NameSource
Instance Method Details
#name(file, md, path) ⇒ Object
48 49 50 51 |
# File 'lib/namesource.rb', line 48 def name(file, md, path) print "Rename #{File.join(path, file)}\n#[captures: #{md.display} ] to:\n>>> " STDIN.gets.chomp end |