Module: GitPivot::Shared
Instance Method Summary collapse
Instance Method Details
#input ⇒ Object
8 9 10 |
# File 'lib/git-pivot/shared.rb', line 8 def input $stdin.gets.chomp end |
#out(text, newline = true) ⇒ Object
3 4 5 6 |
# File 'lib/git-pivot/shared.rb', line 3 def out(text, newline=true) $stdout.write text $stdout.write "\n" if newline end |