class Fear::Extractor::NamedArraySplatMatcher

Match against array splat, and capture rest of an array E.g. +[1, 2, *tail]+

Public Instance Methods

bindings(other) click to toggle source

@!attribute name

@return [Types::Strict::Symbol]
# File lib/fear/extractor/named_array_splat_matcher.rb, line 12
def bindings(other)
  { name => other }
end