about summary refs log tree commit diff
path: root/app/lib/command_tag/commands.rb
blob: 0248e6e9910607b2523b7cfc3612b55dade346d9 (plain) (blame)
1
2
3
4
5
6
7
8
# frozen_string_literal: true
module CommandTag::Commands
  def self.included(base)
    CommandTag::Commands.constants.map(&CommandTag::Commands.method(:const_get)).grep(Module) do |mod|
      base.include(mod)
    end
  end
end