class Fbe::Award

def initialize(query = nil, judge: $judge, global: $global, options: $options, loog: $loog)

Parameters:
  • loog (Loog) -- The logging facility
  • options (Judges::Options) -- The options coming from the +judges+ tool
  • global (Hash) -- The hash for global caching
  • judge (String) -- The name of the judge
  • query (String, nil) -- The query with the bylaw
def initialize(query = nil, judge: $judge, global: $global, options: $options, loog: $loog)
  query = Fbe.pmp(fb: Fbe.fb, global:, options:, loog:).hr.send(judge.tr('-', '_')) if query.nil?
  @query = query
end