Sha256: 03ad3be8d7db845cec1f87f074931c311c429fd53b9b631cdbcdf5992d993a7f

Contents?: true

Size: 205 Bytes

Versions: 2

Compression:

Stored size: 205 Bytes

Contents

require "hackathon_manager/engine"

module HackathonManager
  def self.field_enabled?(field)
    disabled_fields = HackathonConfig.disabled_fields || ''
    !disabled_fields.include?(field.to_s)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
hackathon_manager-0.14.1 lib/hackathon_manager.rb
hackathon_manager-0.14.0 lib/hackathon_manager.rb