lib/newrelic-management/util.rb
def cachier!(var = nil)
      if var && instance_variable_get("@#{var}")
        # => Clear the Single Variable
        remove_instance_variable("@#{var}")
      else
        # => Clear the Whole Damned Cache
        instance_variables.each { |x| remove_instance_variable(x) }
      end
    end
def cachier!(var = nil)
      if var && instance_variable_get("@#{var}")
        # => Clear the Single Variable
        remove_instance_variable("@#{var}")
      else
        # => Clear the Whole Damned Cache
        instance_variables.each { |x| remove_instance_variable(x) }
      end
    end
def cachier! ( var = nil ) if var && instance_variable_get ( "@#{var}" ) # => Clear the Single Variable remove_instance_variable ( "@#{var}" ) else # => Clear the Whole Damned Cache instance_variables . each { | x | remove_instance_variable ( x ) } end end
=> Clear Cache
= > Clear Cache