Sha256: 93ef7a6d690061800f8b0e63205bf1ac710e228fc68f5e750a43937c1250cdbd

Contents?: true

Size: 215 Bytes

Versions: 1

Compression:

Stored size: 215 Bytes

Contents

# frozen_string_literal: true

module Dato
  module Local
    module FieldType
      class SingleBlock
        def self.parse(value, repo)
          value && repo.find(value)
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
dato-0.8.3 lib/dato/local/field_type/single_block.rb