lib/yext/api/concerns/enum_all.rb in yext-api-0.1.3 vs lib/yext/api/concerns/enum_all.rb in yext-api-0.1.4

- old
+ new

@@ -7,10 +7,10 @@ module EnumAll extend ActiveSupport::Concern class_methods do def all - (constants - %i[ClassMethods]).map { |c| const_get(c) } + (constants - %i[ClassMethods]).map { |c| const_get(c) }.reject { |constant| constant.is_a?(Module) } end end end end end