lib/rescuetime/report_formatters.rb
def find(name)
      formatter = formatters.find do |f|
        standardize(f.name) == standardize(name)
      end
      formatter || raise(Rescuetime::Errors::InvalidFormatError)
    end
def find(name)
      formatter = formatters.find do |f|
        standardize(f.name) == standardize(name)
      end
      formatter || raise(Rescuetime::Errors::InvalidFormatError)
    end
def find ( name ) formatter = formatters . find do | f | standardize ( f . name ) == standardize ( name ) end formatter || raise ( Rescuetime :: Errors :: InvalidFormatError ) end
Returns the formatter with the specified name or, if not found, raises
 an exception

 @param  [String] name  the name of the desired formatter
 @return [Class]        the specified formatter

 @raise [Rescuetime::Errors::InvalidFormatError]
Returns the formatter with the specified name or if not found raises an exception