lib/eco/api/common/loaders/parser.rb in eco-helpers-2.6.0 vs lib/eco/api/common/loaders/parser.rb in eco-helpers-2.6.1
- old
+ new
@@ -1,10 +1,9 @@
module Eco
module API
module Common
module Loaders
class Parser < Eco::API::Common::Loaders::CaseBase
-
# Helper class to scope what required attributes it depends on
class RequiredAttrs < Struct.new(:attr, :type, :attrs)
def active?(*input_attrs)
missing(*input_attrs).empty?
end