Class: Ryac::MethodRenameMapping::MethodGroupEntry

Inherits:
Struct
  • Object
show all
Defined in:
lib/ryac/analysis/method/rename_mapping.rb,
sig/ryac/analysis/method/rename_mapping.rbs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ MethodGroupEntry

Returns a new instance of MethodGroupEntry.

Parameters:

  • (Array[method_key], nil)
  • (String, nil)
  • (Integer, nil)


21
# File 'sig/ryac/analysis/method/rename_mapping.rbs', line 21

def initialize: (?Array[method_key]?, ?String?, ?Integer?) -> void

Instance Attribute Details

#keys ⇒ Object

Returns the value of attribute keys

Returns:

  • (Object) —

    the current value of keys



26
27
28
# File 'lib/ryac/analysis/method/rename_mapping.rb', line 26

def keys
  @keys
end

#original_name ⇒ Object

Returns the value of attribute original_name

Returns:

  • (Object) —

    the current value of original_name



26
27
28
# File 'lib/ryac/analysis/method/rename_mapping.rb', line 26

def original_name
  @original_name
end

#total_occurrences ⇒ Object

Returns the value of attribute total_occurrences

Returns:

  • (Object) —

    the current value of total_occurrences



26
27
28
# File 'lib/ryac/analysis/method/rename_mapping.rb', line 26

def total_occurrences
  @total_occurrences
end