Sha256: bca997b2c15fa8ba042b009f34c9c4b245029e409694e413d6fdd5817b1c1ed7
Contents?: true
Size: 268 Bytes
Versions: 4
Compression:
Stored size: 268 Bytes
Contents
require 'extensions/hash' module Moblues module DataModel class Attribute < Struct.new(:name, :type) def initialize(params) p = params.compact super( p.fetch(:name), p.fetch(:type) ) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems