Module: _ActionViewBase

Defined in:
sig/lib/_internal/rails.rbs

Instance Method Summary collapse

Instance Method Details

#content_tagString

Parameters:

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

Returns:

  • (String)


52
# File 'sig/lib/_internal/rails.rbs', line 52

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

#safe_joinString

Parameters:

  • (Array[String])
  • (String)

Returns:

  • (String)


54
# File 'sig/lib/_internal/rails.rbs', line 54

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

#strip_tagsString

Parameters:

  • html (String)

Returns:

  • (String)


58
# File 'sig/lib/_internal/rails.rbs', line 58

def strip_tags: (String html) -> String

#tagString

Parameters:

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

Returns:

  • (String)


50
# File 'sig/lib/_internal/rails.rbs', line 50

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

#truncateString

Parameters:

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

Returns:

  • (String)


56
# File 'sig/lib/_internal/rails.rbs', line 56

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