Method: RBS::AST::Declarations::Global#initialize
- Defined in:
- lib/rbs/ast/declarations.rb
#initialize(name:, type:, location:, comment:, annotations: []) ⇒ Global
Returns a new instance of Global.
392 393 394 395 396 397 398 |
# File 'lib/rbs/ast/declarations.rb', line 392 def initialize(name:, type:, location:, comment:, annotations: []) @name = name @type = type @location = location @comment = comment @annotations = annotations end |