Class: Ruby::Reflection::FieldMirror::Field

Inherits:
Struct
  • Object
show all
Defined in:
lib/ruby/reflection/field_mirror.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



5
6
7
# File 'lib/ruby/reflection/field_mirror.rb', line 5

def name
  @name
end

#objectObject

Returns the value of attribute object

Returns:

  • (Object)

    the current value of object



5
6
7
# File 'lib/ruby/reflection/field_mirror.rb', line 5

def object
  @object
end