Method: RBS::AST::Members::MethodDefinition#initialize
- Defined in:
- lib/rbs/ast/members.rb
#initialize(name:, kind:, types:, annotations:, location:, comment:, overload:) ⇒ MethodDefinition
Returns a new instance of MethodDefinition.
16 17 18 19 20 21 22 23 24 |
# File 'lib/rbs/ast/members.rb', line 16 def initialize(name:, kind:, types:, annotations:, location:, comment:, overload:) @name = name @kind = kind @types = types @annotations = annotations @location = location @comment = comment @overload = overload ? true : false end |