Module: Calagator2

Defined in:
lib/calagator2.rb

Class Method Summary collapse

Class Method Details

.configure_search_engineObject



61
62
63
64
65
66
# File 'lib/calagator2.rb', line 61

def self.configure_search_engine
  kind = search_engine.try(:to_sym)

  Calagator::Event::SearchEngine.use(kind)
  Calagator::Venue::SearchEngine.use(kind)
end

.setup {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Calagator2)

    the object that the method was called on



68
69
70
# File 'lib/calagator2.rb', line 68

def self.setup
  yield self
end