Class: LitIpsum::Doyle::SherlockHolmes

Inherits:
Base
  • Object
show all
Defined in:
lib/lit_ipsum/doyle/sherlock_holmes.rb

Overview

Sir Arthur Conan Doyle’s The Adventures of Sherlock Holmes

Constant Summary collapse

FILENAME =
full_filename('texts/doyle/the-adventures-of-sherlock-holmes.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/doyle/sherlock_holmes.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/doyle/sherlock_holmes.rb', line 14

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