Sha256: a22bef6a8a25bf51e765866ca29d89057d8bc67966c62c3b8e4e4a6d63761d84

Contents?: true

Size: 1.42 KB

Versions: 8

Compression:

Stored size: 1.42 KB

Contents

module MetaTags
  class MetaTagsCollection
    attr_reader meta_tags: Hash[String | Symbol, untyped]

    def initialize: () -> void

    def []: (String | Symbol name) -> untyped

    def []=: (String | Symbol name, untyped value) -> untyped

    def update: (?::Hash[String | Symbol, untyped] | (_MetaTagish & Object) object) -> Hash[String | Symbol, untyped]

    def with_defaults: (?::Hash[String | Symbol, untyped] defaults) { () -> untyped } -> untyped

    def full_title: (?::Hash[String | Symbol, untyped] defaults) -> String

    def page_title: (?::Hash[String | Symbol, untyped] defaults) -> String

    def extract: (String | Symbol name) -> untyped

    def delete: (*String | Symbol names) -> void

    def extract_full_title: () -> String

    def extract_title: () -> Array[String | (_Stringish & Object)]

    def extract_separator: () -> String

    def extract_robots: () -> Hash[String, String]

    def normalize_open_graph: (Hash[String | Symbol, untyped] meta_tags) -> ActiveSupport::HashWithIndifferentAccess[String | Symbol, untyped]

    def extract_separator_section: (String | Symbol name, String default) -> String

    def extract_robots_attribute: (String | Symbol name) -> [String | Array[String | Symbol], String?]

    def calculate_robots_attributes: (untyped result, untyped attributes) -> untyped

    def apply_robots_value: (untyped result, untyped name, untyped value, untyped processed) -> (nil | untyped)
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
meta-tags-2.22.1 sig/lib/meta_tags/meta_tags_collection.rbs
meta-tags-2.22.1.rc1 sig/lib/meta_tags/meta_tags_collection.rbs
meta-tags-2.22.0 sig/lib/meta_tags/meta_tags_collection.rbs
meta-tags-2.21.0 sig/lib/meta_tags/meta_tags_collection.rbs
meta-tags-2.20.0 sig/lib/meta_tags/meta_tags_collection.rbs
meta-tags-2.19.0 sig/lib/meta_tags/meta_tags_collection.rbs
meta-tags-2.18.0 sig/lib/meta_tags/meta_tags_collection.rbs
meta-tags-2.17.0 sig/lib/meta_tags/meta_tags_collection.rbs