Class: Optimize::RbsParser::Signature

Inherits:
Struct
  • Object
show all
Defined in:
lib/optimize/rbs_parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#arg_typesObject

Returns the value of attribute arg_types

Returns:

  • (Object)

    the current value of arg_types



15
16
17
# File 'lib/optimize/rbs_parser.rb', line 15

def arg_types
  @arg_types
end

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



15
16
17
# File 'lib/optimize/rbs_parser.rb', line 15

def file
  @file
end

#lineObject

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



15
16
17
# File 'lib/optimize/rbs_parser.rb', line 15

def line
  @line
end

#method_nameObject

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



15
16
17
# File 'lib/optimize/rbs_parser.rb', line 15

def method_name
  @method_name
end

#receiver_classObject

Returns the value of attribute receiver_class

Returns:

  • (Object)

    the current value of receiver_class



15
16
17
# File 'lib/optimize/rbs_parser.rb', line 15

def receiver_class
  @receiver_class
end

#return_typeObject

Returns the value of attribute return_type

Returns:

  • (Object)

    the current value of return_type



15
16
17
# File 'lib/optimize/rbs_parser.rb', line 15

def return_type
  @return_type
end