class Configure::AcceptInput

STDIN is separated into a class so that it can be extracted and tested

Public Class Methods

str(type) click to toggle source
# File lib/ngi/configure.rb, line 23
def self.str(type)
  case type
  when :stripped
    $stdin.gets.strip
  end
end