Module: RIO::RecType::Lines::Input

Defined in:
lib/rio/rectype.rb

Instance Method Summary collapse

Instance Method Details

#each_rec_(&block) ⇒ Object



46
47
48
49
50
51
52
53
# File 'lib/rio/rectype.rb', line 46

def each_rec_(&block) 
  ih = self.ior
  ih.each_line { |line|
  #self.ior.each { |line|
    yield line
  }
  self
end

#get_(sep_string = get_arg_) ⇒ Object



42
43
44
45
# File 'lib/rio/rectype.rb', line 42

def get_(sep_string=get_arg_)
  #p callstr('get_',sep_string.inspect)
  self.ior.gets(sep_string)
end

#get_arg_Object



41
# File 'lib/rio/rectype.rb', line 41

def get_arg_() $/ end