aderyabin/smart_methods

View on GitHub

Showing 1 of 1 total issue

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
    Severity
    Category
    Status
    Source
    Language