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.
258 259 260 261 262 263 264 265 |
# File 'lib/rbs/ast/declarations.rb', line 258 def initialize(name:, type_params:, members:, annotations:, location:, comment:) @name = name @type_params = type_params @members = members @annotations = annotations @location = location @comment = comment end |