class Nydp::Kalendor::Builtin::Base

Public Class Methods

new(store, factory) click to toggle source
# File lib/nydp/kalendor.rb, line 65
def initialize store, factory
  @store = store
  @factory = factory
end

Public Instance Methods

lookup(kal) click to toggle source
# File lib/nydp/kalendor.rb, line 70
def lookup       kal
  kal = n2r kal
  kal.respond_to?(:get_dates) ? kal : @store.find(kal)
end
name() click to toggle source
# File lib/nydp/kalendor.rb, line 75
def name         ; "kalendor/#{super}"     ; end