Class: Analects::ChiseIdsLoader::MultiFile

Inherits:
Struct
  • Object
show all
Defined in:
lib/analects/chise_ids_loader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#filesObject

Returns the value of attribute files

Returns:

  • (Object)

    the current value of files



7
8
9
# File 'lib/analects/chise_ids_loader.rb', line 7

def files
  @files
end

Instance Method Details

#each_line(&blk) ⇒ Object



8
9
10
11
12
13
14
# File 'lib/analects/chise_ids_loader.rb', line 8

def each_line(&blk)
  return to_enum(__method__) unless block_given?
  files.each do |file|
    file.each_line(&blk)
  end
  self
end