123456789_123456789_123456789_123456789_123456789_

Top Level Namespace

Relationships & Source Files
Namespace Children
Modules:
Classes:
Super Chains via Extension / Inclusion / Inheritance
Instance Chain:

Constant Summary

Instance Method Summary

Instance Method Details

#match(filter, name)

[ GitHub ]

  
# File 'lib/rbs/test/setup.rb', line 48

def match(filter, name)
  if filter.end_with?("*")
    size = filter.size
    name.start_with?(filter[0, size - 1]) || name == filter[0, size-3]
  else
    filter == name
  end
end

#to_absolute_typename(type_name)

[ GitHub ]

  
# File 'lib/rbs/test/setup.rb', line 57

def to_absolute_typename(type_name)
  RBS::Factory.new().type_name(type_name).absolute!
end