class DayNames

e.g. days of the week

Public Class Methods

find(options) click to toggle source
Calls superclass method Natural::Fragment::find
# File lib/natural/fragments/example.rb, line 15
def self.find(options)
  super options.merge(:looking_for => ['days of the week'])
end

Public Instance Methods

data(context) click to toggle source
# File lib/natural/fragments/example.rb, line 18
def data(context)
  Date::DAYNAMES
end