Sha256: 9a528471e2bb481472fb92249746eafe57a1d176b4a846dfa3c29781a17bbe0b

Contents?: true

Size: 189 Bytes

Versions: 27

Compression:

Stored size: 189 Bytes

Contents

require 'active_support'

class LHS::Data

  module Becomes
    extend ActiveSupport::Concern

    def becomes(klass)
      klass.new(LHS::Data.new(_raw, _parent, klass))
    end
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
lhs-15.4.1 lib/lhs/concerns/data/becomes.rb
lhs-15.4.0 lib/lhs/concerns/data/becomes.rb
lhs-15.4.0.pre.hasone.1 lib/lhs/concerns/data/becomes.rb
lhs-15.3.3 lib/lhs/concerns/data/becomes.rb
lhs-15.3.3.pre.fixoptions.1 lib/lhs/concerns/data/becomes.rb
lhs-15.3.2 lib/lhs/concerns/data/becomes.rb
lhs-15.3.1 lib/lhs/concerns/data/becomes.rb
lhs-15.3.1.pre.fixlhc.1 lib/lhs/concerns/data/becomes.rb
lhs-15.3.0 lib/lhs/concerns/data/becomes.rb
lhs-15.2.5 lib/lhs/concerns/data/becomes.rb
lhs-15.2.4 lib/lhs/concerns/data/becomes.rb
lhs-15.2.3 lib/lhs/concerns/data/becomes.rb
lhs-15.2.3.pre.favorites.1 lib/lhs/concerns/data/becomes.rb
lhs-15.2.2.pre.favorites.1 lib/lhs/concerns/data/becomes.rb
lhs-15.2.2 lib/lhs/concerns/data/becomes.rb
lhs-15.2.1 lib/lhs/concerns/data/becomes.rb
lhs-15.2.0 lib/lhs/concerns/data/becomes.rb
lhs-15.1.1 lib/lhs/concerns/data/becomes.rb
lhs-15.1.0 lib/lhs/concerns/data/becomes.rb
lhs-15.0.2 lib/lhs/concerns/data/becomes.rb