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

Inherits:
Result
  • Object
show all
Defined in:
lib/smart_core/schema/checker/rules/extra_keys/success.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



26
27
28
# File 'lib/smart_core/schema/checker/rules/extra_keys/success.rb', line 26

def failure?
  false
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



18
19
20
# File 'lib/smart_core/schema/checker/rules/extra_keys/success.rb', line 18

def success?
  true
end