Class: VirtualKeywords::ClassAndMethodName

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

Overview

Simple data object holding a Class and the name of one of its methods

Instance Attribute Summary collapse

Instance Attribute Details

#klassObject

Returns the value of attribute klass

Returns:

  • (Object)

    the current value of klass



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

def klass
  @klass
end

#method_nameObject

Returns the value of attribute method_name

Returns:

  • (Object)

    the current value of method_name



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

def method_name
  @method_name
end