Sha256: d6d2c8ddcbd3db26ba64cad332ea88c7c883a52c456141677f726df746e7f1d2
Contents?: true
Size: 1.22 KB
Versions: 5
Compression:
Stored size: 1.22 KB
Contents
module MetaTags module TextNormalizer extend ::MetaTags::TextNormalizer type keyword = String? | (_Stringish & Object) type keywords = keyword | Array[keywords] def normalize_title: (String? site_title, keywords title, String separator, ?bool reverse) -> String def normalize_description: (keyword description) -> String def normalize_keywords: (keywords keywords) -> String def helpers: () -> _ActionViewBase def strip_tags: (String string) -> String def safe_join: (Array[String] array, ?String sep) -> String def cleanup_string: (keyword string, ?strip: bool strip) -> String def cleanup_strings: (keywords? strings, ?strip: bool strip) -> Array[String] def truncate: (String string, ?Integer? limit) -> String def truncate_array: (Array[String] string_array, ?Integer? limit, ?String separator) -> Array[String] private def calculate_limit_left: (Integer limit, Integer length, Array[String] result, String separator) -> untyped def truncate_title: (String site_title, Array[String] title, String separator) -> ::Array[untyped] def calculate_title_limits: (String site_title, Array[String] title, String separator, Integer global_limit) -> untyped end end
Version data entries
5 entries across 5 versions & 1 rubygems