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