Module: _ActionViewBase

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

Instance Method Summary collapse

Instance Method Details

#content_tag ⇒ void

This method returns an undefined value.

Parameters:

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


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

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

#safe_join ⇒ String

Parameters:

  • (Array[String])
  • (String)

Returns:

  • (String)


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

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

#strip_tags ⇒ String

Parameters:

  • html (String)

Returns:

  • (String)


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

def strip_tags: (String html) -> String

#tag ⇒ void

This method returns an undefined value.

Parameters:

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


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

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

#truncate ⇒ String

Parameters:

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

Returns:

  • (String)


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

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