Shimogawa/rubirai

View on GitHub
lib/rubirai/messages/message.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method set_message has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def self.set_message(type, *attr_keys, &initialize_block)
      attr_reader(*attr_keys)

      metaclass.instance_eval do
        define_method(:keys) do
Severity: Minor
Found in lib/rubirai/messages/message.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status