Class: SmartCore::Schema::Checker::Rules::ExtraKeys::Failure Private

Inherits:
Result
  • Object
show all
Defined in:
lib/smart_core/schema/checker/rules/extra_keys/failure.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0

Version:

  • 0.3.0

Instance Attribute Summary

Attributes inherited from Result

#extra_keys, #matcher_options

Instance Method Summary collapse

Methods inherited from Result

#initialize

Constructor Details

This class inherits a constructor from SmartCore::Schema::Checker::Rules::ExtraKeys::Result

Instance Method Details

#failure?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 0.1.0



20
21
22
# File 'lib/smart_core/schema/checker/rules/extra_keys/failure.rb', line 20

def failure?
  true
end

#success?Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns:

  • (Boolean)

Since:

  • 0.1.0



12
13
14
# File 'lib/smart_core/schema/checker/rules/extra_keys/failure.rb', line 12

def success?
  false
end