lib/anyway/loaders.rb in anyway_config-2.0.2 vs lib/anyway/loaders.rb in anyway_config-2.0.3
- old
+ new
@@ -53,12 +53,10 @@
def each(&block)
registry.each(&block)
end
- def freeze
- registry.freeze
- end
+ def freeze() = registry.freeze
private
def insert_at(index, id, handler)
raise ArgumentError, "Loader with ID #{id} has been already registered" unless find(id).nil?