lib/boolean.rb
Method has too many lines. [9/7] (https://github.com/bbatsov/ruby-style-guide#short-methods) Open
Open
def self.from(value)
[
'1',
1,
'y',
- Read upRead up
- Exclude checks
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.