Class: LitIpsum::Austen::PrideAndPrejudice

Inherits:
Base
  • Object
show all
Defined in:
lib/lit_ipsum/austen/pride_and_prejudice.rb

Overview

Jane Austen’s Pride and Prejudice

Constant Summary collapse

FILENAME =
full_filename('texts/austen/pride-and-prejudice.txt')

Class Method Summary collapse

Methods inherited from Base

get_text

Class Method Details

.sentences(count, max_sentence: 0, repeats: nil) ⇒ Object



10
11
12
# File 'lib/lit_ipsum/austen/pride_and_prejudice.rb', line 10

def sentences(count, max_sentence: 0, repeats: nil)
  super(count, repeats: repeats, max_sentence: max_sentence, filename: FILENAME)
end

.words(count, repeats: nil) ⇒ Object



14
15
16
# File 'lib/lit_ipsum/austen/pride_and_prejudice.rb', line 14

def words(count, repeats: nil)
  super(count, repeats: repeats, filename: FILENAME)
end