Class: Shoji::TSV

Inherits:
TextBase show all
Defined in:
lib/shoji/tsv.rb

Constant Summary

Constants inherited from TextBase

Shoji::TextBase::ENCMAP

Class Method Summary collapse

Methods inherited from TextBase

foreach, row_size, rows

Methods inherited from Base

#each, foreach, foreach_hash, row_size, rows, valid_content?

Class Method Details

.valid_file?(filename) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/shoji/tsv.rb', line 5

def self.valid_file?(filename)
  has_char? filename, "\t"
end