Method: Omnes::Subscriber::State.IdType

Defined in:
lib/omnes/subscriber/state.rb

.IdType(value) ⇒ Object

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.



14
15
16
# File 'lib/omnes/subscriber/state.rb', line 14

def self.IdType(value)
  value.respond_to?(:call) ? value : ->(_instance) { value }
end