Sha256: c3b105f85417a55a4a71acac7e0ac6921bcaa9953e5c2673b7d0fa686c2cb3d0

Contents?: true

Size: 1.99 KB

Versions: 3

Compression:

Stored size: 1.99 KB

Contents

module MetaTags
  module ViewHelper : Module, _ActionViewBase
    # type meta_tags = {
    #     site: String?,
    #     title: Array[String] | String?,
    #     description: String?,
    #     keywords: Array[String] | String?,
    #     charset: String,
    #     prefix: String,
    #     separator: String,
    #     suffix: String,
    #     lowercase: bool,
    #     reverse: bool,
    #     noindex: bool | String | Array[String],
    #     index: bool | String | Array[String],
    #     nofollow: bool | String | Array[String],
    #     follow: bool | String | Array[String],
    #     noarchive: bool | String | Array[String],
    #     canonical: String,
    #     prev: String,
    #     next: String,
    #     image_src: String,
    #     alternate: String,
    #     amphtml: String,
    #     manifest: String,
    #     og: Hash[Renderer::meta_key, Renderer::meta_value],
    #     twitter: Hash[Renderer::meta_key, Renderer::meta_value],
    #     open_search: Hash[Renderer::meta_key, Renderer::meta_value],
    #     article: Hash[Renderer::meta_key, Renderer::meta_value],
    #     al: Hash[Renderer::meta_key, Renderer::meta_value],
    #     refresh: Integer | String | nil,
    #   } & Hash[Renderer::meta_key, Renderer::meta_value]
    type meta_tags = Hash[Renderer::meta_key, Renderer::meta_value]

    def meta_tags: () -> MetaTagsCollection

    def set_meta_tags: (?meta_tags | (_MetaTagish&Object) meta_tags) -> void

    def title: (?String? title, ?::String? headline) -> String

    def keywords: (Array[String] | String? keywords) -> (Array[String] | String?)

    def description: (String? description) -> String?

    def noindex: (?String | Array[String] | bool noindex) -> (String | bool | Array[String])

    def nofollow: (?String | Array[String] | bool nofollow) -> (String | bool | Array[String])

    def refresh: (String? | Integer? refresh) -> (String? | Integer?)

    def display_meta_tags: (?meta_tags defaults) -> String

    def display_title: (?meta_tags defaults) -> String
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
meta-tags-2.18.0 sig/lib/meta_tags/view_helper.rbs
meta-tags-2.17.0 sig/lib/meta_tags/view_helper.rbs
meta-tags-2.16.0 sig/lib/meta_tags/view_helper.rbs