Method: Valkyrie::Config#initialize
- Defined in:
- lib/valkyrie.rb
#initialize(hsh = {}) ⇒ Config
Method lookup with OpenStruct appears to have issues in Ruby 3, so we unfortunately can’t just call super when accessing values in the following methods. Using brackets works fine, though.
88 89 90 |
# File 'lib/valkyrie.rb', line 88 def initialize(hsh = {}) super(defaults.merge(hsh)) end |