class Addressable::Template

def variables

Experimental RBS support (using type sampling data from the type_fusion project).

def variables: () -> untyped

This signature was generated using 4 samples from 1 application.

Returns:
  • (Array) - The variables present in the template's pattern.
def variables
  @variables ||= ordered_variable_defaults.map { |var, val| var }.uniq
end