lib/atome/genesis/generators/spatial.rb in atome-0.5.3.8.1 vs lib/atome/genesis/generators/spatial.rb in atome-0.5.3.8.8

- old
+ new

@@ -1,13 +1,13 @@ # frozen_string_literal: true -new({ particle: :left }) do |_params, user_proc| +new({ particle: :left, type: :integer }) do |_params, user_proc| instance_exec(&user_proc) if user_proc.is_a?(Proc) end -new({ particle: :right }) -new({ particle: :top }) -new({ particle: :bottom }) -new({ particle: :rotate }) -new({ particle: :direction }) -new({ particle: :center }) -new ({particle: :depth}) +new({ particle: :right, type: :integer }) +new({ particle: :top, type: :integer }) +new({ particle: :bottom, type: :integer }) +new({ particle: :rotate, type: :integer }) +new({ particle: :direction, type: :string }) +new({ particle: :center, type: :string}) +new ({particle: :depth, type: :integer})