Sha256: 74f44fde8c1be60bbca457cbc61ddc9a309b8db87db3c0101c8fe771bd53816d
Contents?: true
Size: 424 Bytes
Versions: 34
Compression:
Stored size: 424 Bytes
Contents
# frozen_string_literal: true module StoreModel # Contains methods for converting StoreModel::Model to ActiveModel::Type::Value. module TypeBuilders # Converts StoreModel::Model to Types::One # @return [Types::One] def to_type Types::One.new(self) end # Converts StoreModel::Model to Types::Many # @return [Types::Many] def to_array_type Types::Many.new(self) end end end
Version data entries
34 entries across 34 versions & 1 rubygems