lib/hieracles/interpolate.rb in hieracles-0.1.7 vs lib/hieracles/interpolate.rb in hieracles-0.2.0

- old
+ new

@@ -21,24 +21,12 @@ @@output.print "#{var} = " @@input.gets.chomp end # makes possible to set input and output - def setio(input, output) + def setio(input=STDIN, output=STDOUT) @@input = input @@output = output - end - - private - - # defaults to STDIN - def input - @@input ||= STDIN - end - - # defaults to STDOUT - def output - @@output ||= STDOUT end end end