Method: RBS::Definition::SingletonAncestors#initialize
- Defined in:
- lib/rbs/definition.rb
#initialize(type_name:, ancestors:) ⇒ SingletonAncestors
Returns a new instance of SingletonAncestors.
261 262 263 264 |
# File 'lib/rbs/definition.rb', line 261 def initialize(type_name:, ancestors:) @type_name = type_name @ancestors = ancestors end |