lib/atome/genesis/generators/spatial.rb in atome-0.5.4.1.9 vs lib/atome/genesis/generators/spatial.rb in atome-0.5.5.6.4
- old
+ new
@@ -1,13 +1,11 @@
# frozen_string_literal: true
-new({ particle: :left, type: :integer }) do |_params, user_proc|
- instance_exec(&user_proc) if user_proc.is_a?(Proc)
-end
+new({ particle: :left, type: :integer })
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})
-
+new({particle: :depth, type: :integer})
+new({ particle: :position })