From d780d0627d9ceac59a17f85db21c5948f166eca6 Mon Sep 17 00:00:00 2001 From: Sergio Cambra Date: Thu, 19 Dec 2024 15:31:24 +0100 Subject: [PATCH] move class under module [skip ci] --- .../data_structures/action_link_separator.rb | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/lib/active_scaffold/data_structures/action_link_separator.rb b/lib/active_scaffold/data_structures/action_link_separator.rb index 64db91726..cb46c6b64 100644 --- a/lib/active_scaffold/data_structures/action_link_separator.rb +++ b/lib/active_scaffold/data_structures/action_link_separator.rb @@ -1,13 +1,15 @@ -class ActionLinkSeparator - def initialize(weight) - @weight = weight - end +module ActiveScaffold::DataStructures + class ActionLinkSeparator + def initialize(weight) + @weight = weight + end - attr_reader :weight + attr_reader :weight - def ==(other) - other == :separator - end + def ==(other) + other == :separator + end - def name_to_cache; end # :nodoc: + def name_to_cache; end # :nodoc: + end end