Module: Pairer

Defined in:
lib/pairer.rb,
lib/pairer/config.rb,
lib/pairer/engine.rb,
lib/pairer/version.rb,
app/models/pairer/board.rb,
app/models/pairer/group.rb,
app/models/pairer/person.rb,
app/jobs/pairer/application_job.rb,
app/channels/pairer/board_channel.rb,
app/jobs/pairer/cleanup_boards_job.rb,
app/models/pairer/application_record.rb,
app/channels/pairer/application_cable.rb,
app/helpers/pairer/application_helper.rb,
app/mailers/pairer/application_mailer.rb,
app/controllers/pairer/boards_controller.rb,
app/controllers/pairer/sessions_controller.rb,
app/controllers/pairer/application_controller.rb

Defined Under Namespace

Modules: ApplicationCable, ApplicationHelper Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Board, BoardChannel, BoardsController, CleanupBoardsJob, Config, Engine, Group, Person, SessionsController

Constant Summary collapse

VERSION =
"1.2.1".freeze

Class Method Summary collapse

Class Method Details

.config(&block) ⇒ Object



6
7
8
9
10
11
12
13
14
# File 'lib/pairer.rb', line 6

def self.config(&block)
  c = Pairer::Config

  if block_given?
    block.call(c)
  else
    return c
  end
end