Method: Runestone::Settings#initialize

Defined in:
lib/runestone/settings.rb

#initialize(model, name:, dictionary:, &block) ⇒ Settings

Returns a new instance of Settings.



5
6
7
8
9
10
# File 'lib/runestone/settings.rb', line 5

def initialize(model, name: , dictionary: , &block)
  @name = name
  @dictionary = dictionary
  @indexes = {}
  instance_exec(&block)
end