Sha256: 76a1c8ebaca2b4b558b90b388e35508ae126b2e3904d968d1e21907fcf5f7925
Contents?: true
Size: 325 Bytes
Versions: 21
Compression:
Stored size: 325 Bytes
Contents
# frozen_string_literal: true new({ particle: :smooth, category: :effect, type: :int }) new({ particle: :blur, category: :effect, type: :int }) do |params| if affect.nil? affect_to = affect else affect_to = [:self] end val= { value: params, affect: affect_to } unless params.instance_of?(Hash) val end
Version data entries
21 entries across 21 versions & 1 rubygems