collectiveidea/unicode_math

View on GitHub
lib/unicode_math/constants.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method included has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def self.included(base)
      base.class_eval do
        %w(π ϖ 𝛑 𝛡 𝜋 𝜛 𝝅 𝝕 𝝿 𝞏 𝞹 𝟉).each do |pi|
          define_method(pi) do
            Math::PI
Severity: Minor
Found in lib/unicode_math/constants.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status