class Tapout::Curmudgeon

Public Class Methods

new(input) click to toggle source
# File lib/tapout/cli.rb, line 91
def initialize(input)
  @input = input
  @line1 = input.gets
end

Public Instance Methods

gets() click to toggle source
# File lib/tapout/cli.rb, line 98
def gets
  (class << self; self; end).class_eval %{
    def gets; @input.gets; end
  }
  return @line1
end
line1() click to toggle source
# File lib/tapout/cli.rb, line 95
def line1
  @line1
end