Class: RailsBase::AdminStruct

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

Instance Attribute Summary collapse

Instance Attribute Details

#new_attributeObject

Returns the value of attribute new_attribute

Returns:

  • (Object)

    the current value of new_attribute



106
107
108
# File 'lib/rails_base.rb', line 106

def new_attribute
  @new_attribute
end

#original_attributeObject

Returns the value of attribute original_attribute

Returns:

  • (Object)

    the current value of original_attribute



106
107
108
# File 'lib/rails_base.rb', line 106

def original_attribute
  @original_attribute
end

#userObject

Returns the value of attribute user

Returns:

  • (Object)

    the current value of user



106
107
108
# File 'lib/rails_base.rb', line 106

def user
  @user
end