Class: VisibilityChecker::VisibilityChange

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

Overview

Structure holding data on method visibility changes

Instance Attribute Summary collapse

Instance Attribute Details

#defined_inObject

Returns the value of attribute defined_in

Returns:

  • (Object)

    the current value of defined_in



3
4
5
# File 'lib/visibility_checker.rb', line 3

def defined_in
  @defined_in
end

#methodObject

Returns the value of attribute method

Returns:

  • (Object)

    the current value of method



3
4
5
# File 'lib/visibility_checker.rb', line 3

def method
  @method
end

#new_visibilityObject

Returns the value of attribute new_visibility

Returns:

  • (Object)

    the current value of new_visibility



3
4
5
# File 'lib/visibility_checker.rb', line 3

def new_visibility
  @new_visibility
end

#original_visibilityObject

Returns the value of attribute original_visibility

Returns:

  • (Object)

    the current value of original_visibility



3
4
5
# File 'lib/visibility_checker.rb', line 3

def original_visibility
  @original_visibility
end

#overridden_byObject

Returns the value of attribute overridden_by

Returns:

  • (Object)

    the current value of overridden_by



3
4
5
# File 'lib/visibility_checker.rb', line 3

def overridden_by
  @overridden_by
end