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

Defined in:
lib/rio/rectype.rb

Instance Method Summary collapse

Instance Method Details

#each_rec_(&block) ⇒ Object



38
39
40
41
42
43
44
# File 'lib/rio/rectype.rb', line 38

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

#get_(sep_string = get_arg_) ⇒ Object



31
32
33
34
# File 'lib/rio/rectype.rb', line 31

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

#get_arg_Object



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

def get_arg_() $/ end

#io_enumObject



35
36
37
# File 'lib/rio/rectype.rb', line 35

def io_enum
  self.ior.to_enum
end