class SingleWordDataSource

Public Class Methods

new(word) click to toggle source
# File lib/data/word_data_source.rb, line 61
def initialize(word)
  @word = word
end

Public Instance Methods

numberValues() click to toggle source
# File lib/data/word_data_source.rb, line 65
def numberValues
  return 1
end
valueAt(offset) click to toggle source
# File lib/data/word_data_source.rb, line 69
def valueAt(offset)
  return nil if (offset > 0)
  return @word
end