Module: Hiq

Defined in:
lib/hiq.rb,
lib/hiq/haiku.rb,
lib/hiq/version.rb,
lib/hiq/exceptions.rb,
lib/hiq/syllabizable.rb,
lib/hiq/domain/word_checker.rb,
lib/hiq/domain/line_composer.rb,
lib/hiq/domain/filler_library.rb

Overview

rubocop:disable Metrics/MethodLength rubocop:disable Metrics/ClassLength

Defined Under Namespace

Modules: Syllabizable Classes: FillerLibrary, Haiku, LineComposer, TooManyWordsError, WordChecker, WordLengthError, WordTooLongError, WordsCompositionError, WordsTooLongError

Constant Summary collapse

VERSION =
'0.4.0'

Class Method Summary collapse

Class Method Details

.haiku(*words) ⇒ Object



13
14
15
# File 'lib/hiq.rb', line 13

def self.haiku(*words)
  Haiku.new(words).to_s
end