Sha256: f5c501d9b8ff66289f420d1a3c1aaf75650157e958d2a9b8a42f915fa069c2fc
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 Bytes
Contents
# frozen_string_literal: true module Mockolate::Parameters::Attributes module Types def string(name) # class_variable_get(:@@_public_attributes).merge!( {value: '', type: :string} # ) end def integer(name) class_variable_get(:@@_public_attributes).merge!( name.to_sym => {value: 0, type: :integer} ) end # def type_hander(&block) # end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
mockolate-0.0.0 | lib/mockolate/parameters/attributes/types.rb |