aderyabin/smart_methods

View on GitHub
lib/smart_methods.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

  def smart_methods(*names)
    names.each do |name|
      instance_eval %Q{
        def #{name}(v = nil, &block)
          if block_given?
Severity: Minor
Found in lib/smart_methods.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status