AgileVentures/LocalSupport

View on GitHub
lib/boolean.rb

Summary

Maintainability
A
0 mins
Test Coverage

Method has too many lines. [9/7] (https://github.com/bbatsov/ruby-style-guide#short-methods)
Open

  def self.from(value)
    [
      '1',
      1,
      'y',
Severity: Minor
Found in lib/boolean.rb by rubocop

This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.

There are no issues that match your filters.

Category
Status