class SyntaxTree::Params
def initialize(
Experimental RBS support (using type sampling data from the type_fusion
project).
def initialize: (location: SyntaxTree::Location, requireds: (Array[] | Array[SyntaxTree::Ident]), optionals: (Array[] | Array[Array, SyntaxTree::Ident, SyntaxTree::VarRef] | Array[Array, SyntaxTree::Ident, SyntaxTree::HashLiteral]), rest: SyntaxTree::RestParam?, posts: Array[], keywords: Array[], keyword_rest: nil, block: SyntaxTree::BlockArg?) -> void
This signature was generated using 18 samples from 1 application.
def initialize( location:, requireds: [], optionals: [], rest: nil, posts: [], keywords: [], keyword_rest: nil, block: nil ) @requireds = requireds @optionals = optionals @rest = rest @posts = posts @keywords = keywords @keyword_rest = keyword_rest @block = block @location = location @comments = [] end