livingsocial/rearview-engine

View on GitHub
lib/rearview/templates/monitor.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

  def scoped_eval(namespace)
    # Copy instance variables from top-level class into current scope
    namespace.keys.each do |v|
      instance_variable_set "#{v}".to_sym, namespace[v]
    end
Severity: Minor
Found in lib/rearview/templates/monitor.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status