Method: RBS::AST::Declarations::Interface#initialize
- Defined in:
- lib/rbs/ast/declarations.rb
#initialize(name:, type_params:, members:, annotations:, location:, comment:) ⇒ Interface
Returns a new instance of Interface.
248 249 250 251 252 253 254 255 |
# File 'lib/rbs/ast/declarations.rb', line 248 def initialize(name:, type_params:, members:, annotations:, location:, comment:) @name = name @type_params = type_params @members = members @annotations = annotations @location = location @comment = comment end |