Module: Oulipo
- Defined in:
- lib/oulipo.rb,
lib/oulipo/analysis.rb,
lib/oulipo/word_list.rb,
lib/oulipo/substitutor.rb,
lib/oulipo/enhanced_string.rb,
lib/oulipo/string_extensions.rb
Defined Under Namespace
Modules: StringExtensions Classes: Analysis, EnhancedString, Substitutor, WordList
Class Method Summary collapse
-
.n_plus(places, text, word_list) ⇒ Object
Replace the word nth places ahead in the word_list.
Class Method Details
.n_plus(places, text, word_list) ⇒ Object
Replace the word nth places ahead in the word_list
18 19 20 |
# File 'lib/oulipo.rb', line 18 def self.n_plus(places, text, word_list) EnhancedString.new(text).n_plus(places, word_list) end |