Module: _ActionViewBase

Defined in:
sig/lib/meta_tags/rails_interfaces.rbs

Instance Method Summary collapse

Instance Method Details

#content_tagString

Parameters:

  • name (String)
  • content (String)
  • options (Hash[String | Symbol, untyped])
  • open (Boolean)

Returns:

  • (String)


8
# File 'sig/lib/meta_tags/rails_interfaces.rbs', line 8

def content_tag: (String name, String content, ?Hash[String | Symbol, untyped] options, ?bool open) -> String

#safe_joinString

Parameters:

  • (Array[String])
  • (String)

Returns:

  • (String)


10
# File 'sig/lib/meta_tags/rails_interfaces.rbs', line 10

def safe_join: (Array[String], String) -> String

#strip_tagsString

Parameters:

  • html (String)

Returns:

  • (String)


14
# File 'sig/lib/meta_tags/rails_interfaces.rbs', line 14

def strip_tags: (String html) -> String

#tagString

Parameters:

  • name (String)
  • options (Hash[String | Symbol, untyped])
  • open (Boolean)

Returns:

  • (String)


6
# File 'sig/lib/meta_tags/rails_interfaces.rbs', line 6

def tag: (String name, ?Hash[String | Symbol, untyped] options, ?bool open) -> String

#truncateString

Parameters:

  • text (String)
  • options (Hash[Symbol, untyped])

Returns:

  • (String)


12
# File 'sig/lib/meta_tags/rails_interfaces.rbs', line 12

def truncate: (String text, ?Hash[Symbol, untyped] options) -> String