struct

Heucristic::Index::Arity

Inherits Struct < Value < Object

Constructors

anything
Source
new(required : Int32, optional : Int32, splat : Bool)
Source
of(args : Array(Crystal::Arg), splat_index : Int32 | Nil) : Arity
Source
of(node : Crystal::Def | Crystal::Macro) : Arity
Source

Instance methods

accepts?(count : Int32) : Bool
Source
clone
Source
copy_with(required _required = @required, optional _optional = @optional, splat _splat = @splat)
Source
expected
Source
optional
required
splat