Class: Pressletter::Values::Words

Inherits:
Object
  • Object
show all
Defined in:
lib/pressletter/values/words.rb

Instance Method Summary collapse

Constructor Details

#initialize(words) ⇒ Words



3
4
5
# File 'lib/pressletter/values/words.rb', line 3

def initialize(words)
  @words = words
end

Instance Method Details

#as_arrayObject



7
8
9
# File 'lib/pressletter/values/words.rb', line 7

def as_array
  @words
end