Module: Jat::Plugins::BasePreloads::FormatUserPreloads::ClassMethods

Included in:
Jat::Plugins::BasePreloads::FormatUserPreloads
Defined in:
lib/jat/plugins/base/base_preloads/lib/format_user_preloads.rb

Instance Method Summary collapse

Instance Method Details

#to_hash(value) ⇒ Object



17
18
19
# File 'lib/jat/plugins/base/base_preloads/lib/format_user_preloads.rb', line 17

def to_hash(value)
  send(METHODS.fetch(value.class), value)
end