Sha256: 9a1672d13431990237cdf53d3d4f1c55e2611d0330dcf538f18fbb2e82c6ab04

Contents?: true

Size: 218 Bytes

Versions: 12

Compression:

Stored size: 218 Bytes

Contents

# frozen_string_literal: true

require 'active_support'

class DHS::Data

  module ToHash
    extend ActiveSupport::Concern

    included do
      delegate :to_h, :to_hash, to: :_raw, allow_nil: true
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
dhs-1.6.0 lib/dhs/concerns/data/to_hash.rb
dhs-1.5.0 lib/dhs/concerns/data/to_hash.rb
dhs-1.4.2 lib/dhs/concerns/data/to_hash.rb
dhs-1.4.1 lib/dhs/concerns/data/to_hash.rb
dhs-1.4.0 lib/dhs/concerns/data/to_hash.rb
dhs-1.3.0 lib/dhs/concerns/data/to_hash.rb
dhs-1.2.0 lib/dhs/concerns/data/to_hash.rb
dhs-1.1.0 lib/dhs/concerns/data/to_hash.rb
dhs-1.0.3 lib/dhs/concerns/data/to_hash.rb
dhs-1.0.2 lib/dhs/concerns/data/to_hash.rb
dhs-1.0.1 lib/dhs/concerns/data/to_hash.rb
dhs-1.0.0 lib/dhs/concerns/data/to_hash.rb