Class: TextGen::Noun

Inherits:
Object
  • Object
show all
Includes:
RandomFileLine
Defined in:
lib/textgen/noun.rb

Constant Summary collapse

@@file =
'noun_list.txt'

Class Method Summary collapse

Methods included from RandomFileLine

included

Class Method Details

.pickObject



6
7
8
# File 'lib/textgen/noun.rb', line 6

def self.pick
  line_from(@@file)
end