Sha256: ab5e7467366158594b99d44939a4f946c85a8bba4e25aea47252f1a4db1f6fb9

Contents?: true

Size: 219 Bytes

Versions: 3

Compression:

Stored size: 219 Bytes

Contents

# frozen_string_literal: true

require_relative '../structs/fragment'

module Umwelt::Fragment
  class Mapper < Umwelt::Abstract::Mapper
    def call(data)
      @struct = fill(Struct::Fragment, data)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
umwelt-0.2 lib/umwelt/fragment/mapper.rb
umwelt-0.1.1 lib/umwelt/fragment/mapper.rb
umwelt-0.1.0 lib/umwelt/fragment/mapper.rb