Class: Rails::Configuration

Inherits:
Object show all
Defined in:
lib/has_many_polymorphs/configuration.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#has_many_polymorphs_optionsObject



9
10
11
# File 'lib/has_many_polymorphs/configuration.rb', line 9

def has_many_polymorphs_options
  ::HasManyPolymorphs.options
end

#has_many_polymorphs_options=(hash) ⇒ Object



13
14
15
# File 'lib/has_many_polymorphs/configuration.rb', line 13

def has_many_polymorphs_options=(hash)
  ::HasManyPolymorphs.options = HashWithIndifferentAccess.new(hash)
end