Module: Birdwatcher::Concerns::WordList

Included in:
Module
Defined in:
lib/birdwatcher/concerns/word_list.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
# File 'lib/birdwatcher/concerns/word_list.rb', line 4

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#make_word_list(options = {}) ⇒ Birdwatcher::WordList

Get a new word list instance

Parameters:

  • options (Hash) (defaults to: {})

    Word list options

Returns:



16
17
18
# File 'lib/birdwatcher/concerns/word_list.rb', line 16

def make_word_list(options = {})
  Birdwatcher::WordList.new(options)
end