lib/mongoid/orderable/generators/base.rb in mongoid_orderable-6.0.4 vs lib/mongoid/orderable/generators/base.rb in mongoid_orderable-6.0.5

- old
+ new

@@ -8,10 +8,10 @@ def initialize(klass) @klass = klass end - protected + private def generate_method(name, &block) klass.send(:define_method, name, &block) end end