class Blacklight::Configuration::NullField

Returned if no config is defined for the field in the Blacklight::Configuration

Public Class Methods

new(field_or_hash = nil) click to toggle source
Calls superclass method
# File lib/blacklight/configuration/null_field.rb, line 6
def initialize(field_or_hash = nil)
  case field_or_hash
  when String, Symbol
    super(field: field_or_hash)
  else
    super
  end
end