lib/strict/reader/module.rb in strict-1.0.0 vs lib/strict/reader/module.rb in strict-1.1.0
- old
+ new
@@ -7,10 +7,10 @@
def initialize(configuration)
super()
@configuration = configuration
- const_set(Strict::Attributes::Configured::CONSTANT, configuration)
+ const_set(Strict::Attributes::Class::CONSTANT, configuration)
configuration.attributes.each do |attribute|
module_eval(
"def #{attribute.name} = #{attribute.instance_variable}", # def name = @instance_variable
__FILE__,
__LINE__ - 2