From 09a4099586657170cbdcff071b2d0fac5ed133b7 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 28 May 2026 02:12:40 -0700 Subject: oni-yasnippet: Move all snippets to ‘oni-yasnippet’ There is no real point in having them all separate. Having them all in a single place makes them much easier to manage. --- oni-ruby/snippets/ruby-mode/ProductSeedHW | 5 ----- 1 file changed, 5 deletions(-) delete mode 100644 oni-ruby/snippets/ruby-mode/ProductSeedHW (limited to 'oni-ruby/snippets/ruby-mode/ProductSeedHW') diff --git a/oni-ruby/snippets/ruby-mode/ProductSeedHW b/oni-ruby/snippets/ruby-mode/ProductSeedHW deleted file mode 100644 index 843b32e..0000000 --- a/oni-ruby/snippets/ruby-mode/ProductSeedHW +++ /dev/null @@ -1,5 +0,0 @@ -# -*- mode: snippet; require-final-newline: nil -*- -# name: ProductSeedWithHW -# key: pseed -# -- -Product.find_or_create_by_name(parent_id: $1, name: '$2', description: '$3', price: '$4', width_in_cm: '$5', height_in_cm: '$6', width_in_mm: '${5:$(round (* 10 (string-to-int yas-text)))}', height_in_mm: '${6:$(round (* 10 (string-to-int yas-text)))}') \ No newline at end of file -- cgit v1.3-2-g0d8e