Class: String
- Inherits:
-
Object
- Object
- String
- Includes:
- StringMagic::Advanced::Security, StringMagic::Core::Analysis, StringMagic::Core::Transformation, StringMagic::Core::Validation, StringMagic::Formatting::Highlighting, StringMagic::Formatting::Truncation, StringMagic::Utilities::Inflection, StringMagic::Utilities::Slug
- Defined in:
- lib/string_magic/core/analysis.rb,
lib/string_magic.rb,
lib/string_magic/utilities/slug.rb,
lib/string_magic/core/validation.rb,
lib/string_magic/advanced/security.rb,
lib/string_magic/core/transformation.rb,
lib/string_magic/utilities/inflection.rb,
lib/string_magic/formatting/truncation.rb,
lib/string_magic/formatting/highlighting.rb
Overview
Optional automatic mix-in
Method Summary
Methods included from StringMagic::Utilities::Inflection
#humanize, #ordinalize, #to_plural, #to_singular
Methods included from StringMagic::Utilities::Slug
#extract_slug_from_url, #slugify_path, #to_filename_safe, #to_slug, #to_url_slug
Methods included from StringMagic::Advanced::Security
#contains_sensitive_data?, #mask_credit_cards, #mask_emails, #mask_phones, #mask_sensitive_data
Methods included from StringMagic::Formatting::Truncation
#smart_truncate, #truncate_characters, #truncate_sentences, #truncate_words
Methods included from StringMagic::Formatting::Highlighting
#highlight, #highlight_urls, #remove_highlights
Methods included from StringMagic::Core::Validation
#anagram_of?, #credit_card?, #email?, #integer?, #numeric?, #palindrome?, #phone?, #strong_password?, #url?
Methods included from StringMagic::Core::Transformation
#alternating_case, #escape_html, #remove_duplicate_chars, #remove_duplicate_words, #remove_html_tags, #reverse_words, #squeeze_whitespace, #to_camel_case, #to_kebab_case, #to_pascal_case, #to_snake_case, #to_title_case
Methods included from StringMagic::Core::Analysis
#extract_dates, #extract_emails, #extract_entities, #extract_hashtags, #extract_mentions, #extract_phones, #extract_urls, #readability_score, #sentiment_indicators, #word_frequency