Sha256: 089f4af322cf34bba8e95cb7e1a1c31b7ec7a55473ab64ff83bc9651c704cba4

Contents?: true

Size: 995 Bytes

Versions: 5

Compression:

Stored size: 995 Bytes

Contents

module MetaTags
  class Configuration
    type html_tag_key = String | Symbol
    type html_tag_value = Hash[html_tag_key, html_tag_value] | html_tag_content
    type html_tag_content = String? | Symbol | (_Stringish & Object)


    attr_accessor title_limit: Integer?
    attr_accessor truncate_site_title_first: bool
    attr_accessor truncate_on_natural_separator: String?|Regexp
    attr_accessor title_tag_attributes: Hash[html_tag_key, html_tag_value]?
    attr_accessor description_limit: Integer
    attr_accessor keywords_limit: Integer
    attr_accessor keywords_separator: String
    attr_accessor keywords_lowercase: bool
    attr_accessor open_meta_tags: bool
    attr_accessor minify_output: bool
    attr_reader property_tags: Array[String | Symbol]
    attr_accessor skip_canonical_links_on_noindex: bool

    def initialize: () -> void
    def default_property_tags: () -> Array[String | Symbol]
    def open_meta_tags?: () -> bool
    def reset_defaults!: () -> void
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
meta-tags-2.22.1 sig/lib/meta_tags/configuration.rbs
meta-tags-2.22.1.rc1 sig/lib/meta_tags/configuration.rbs
meta-tags-2.22.0 sig/lib/meta_tags/configuration.rbs
meta-tags-2.21.0 sig/lib/meta_tags/configuration.rbs
meta-tags-2.20.0 sig/lib/meta_tags/configuration.rbs