Class: ConvenientService::Support::Undefined

Inherits:
UniqueValue
  • Object
show all
Defined in:
lib/convenient_service/support/undefined.rb

Instance Attribute Summary

Attributes inherited from UniqueValue

#label

Instance Method Summary collapse

Methods inherited from UniqueValue

#==, #===, #eql?, #hash, #initialize, #inspect

Constructor Details

This class inherits a constructor from ConvenientService::Support::UniqueValue

Instance Method Details

#[](value) ⇒ Boolean

Parameters:

  • value (Object)

    Can be any type.

Returns:

  • (Boolean)


15
16
17
# File 'lib/convenient_service/support/undefined.rb', line 15

def [](value)
  equal?(value)
end