Module: GitPivot::Shared

Included in:
Git, Manager, Pivotal
Defined in:
lib/git-pivot/shared.rb

Instance Method Summary collapse

Instance Method Details

#inputObject



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