Class: Strict::ImplementationDoesNotConformError
- Defined in:
- lib/strict/implementation_does_not_conform_error.rb
Instance Attribute Summary collapse
-
#interface ⇒ Object
readonly
Returns the value of attribute interface.
-
#invalid_method_definitions ⇒ Object
readonly
Returns the value of attribute invalid_method_definitions.
-
#missing_methods ⇒ Object
readonly
Returns the value of attribute missing_methods.
-
#receiver ⇒ Object
readonly
Returns the value of attribute receiver.
Instance Method Summary collapse
-
#initialize(interface:, receiver:, missing_methods:, invalid_method_definitions:) ⇒ ImplementationDoesNotConformError
constructor
rubocop:disable Metrics/MethodLength.
Constructor Details
#initialize(interface:, receiver:, missing_methods:, invalid_method_definitions:) ⇒ ImplementationDoesNotConformError
rubocop:disable Metrics/MethodLength
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'lib/strict/implementation_does_not_conform_error.rb', line 7 def initialize(interface:, receiver:, missing_methods:, invalid_method_definitions:) # rubocop:disable Metrics/MethodLength super( ( interface: interface, receiver: receiver, missing_methods: missing_methods, invalid_method_definitions: invalid_method_definitions ) ) @interface = interface @receiver = receiver @missing_methods = missing_methods @invalid_method_definitions = invalid_method_definitions end |
Instance Attribute Details
#interface ⇒ Object (readonly)
Returns the value of attribute interface.
5 6 7 |
# File 'lib/strict/implementation_does_not_conform_error.rb', line 5 def interface @interface end |
#invalid_method_definitions ⇒ Object (readonly)
Returns the value of attribute invalid_method_definitions.
5 6 7 |
# File 'lib/strict/implementation_does_not_conform_error.rb', line 5 def invalid_method_definitions @invalid_method_definitions end |
#missing_methods ⇒ Object (readonly)
Returns the value of attribute missing_methods.
5 6 7 |
# File 'lib/strict/implementation_does_not_conform_error.rb', line 5 def missing_methods @missing_methods end |
#receiver ⇒ Object (readonly)
Returns the value of attribute receiver.
5 6 7 |
# File 'lib/strict/implementation_does_not_conform_error.rb', line 5 def receiver @receiver end |