Sha256: f7fb87a0d8464d4806bb21c7b7a78daf95e5b64739e0861a8c4497b1dcb41605

Contents?: true

Size: 395 Bytes

Versions: 6788

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

module Byebug
  module Helpers
    #
    # Reflection utilitie
    #
    module ReflectionHelper
      #
      # List of "command" classes in the including module
      #
      def commands
        constants(false)
          .map { |const| const_get(const, false) }
          .select { |c| c.is_a?(Class) && c.name =~ /[a-z]Command$/ }
      end
    end
  end
end

Version data entries

6,788 entries across 6,784 versions & 35 rubygems

Version Path
cybrid_api_bank_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_id_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_organization_ruby-0.123.149 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_bank_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_id_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_organization_ruby-0.123.148 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_bank_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_organization_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_id_ruby-0.123.147 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
ory-client-1.16.2 vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
avalara_sdk-24.12.2 vendor/bundle/ruby/2.7.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_bank_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_organization_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_id_ruby-0.123.145 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_bank_ruby-0.123.144 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_id_ruby-0.123.144 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_organization_ruby-0.123.144 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
ory-client-1.16.1 vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
ory-client-1.16.0 vendor/bundle/ruby/3.1.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb
cybrid_api_bank_ruby-0.123.143 vendor/bundle/ruby/3.3.0/gems/byebug-11.1.3/lib/byebug/helpers/reflection.rb