Class: Changed::Field

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

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



9
10
11
# File 'lib/changed.rb', line 9

def name
  @name
end

#nowObject

Returns the value of attribute now

Returns:

  • (Object)

    the current value of now



9
10
11
# File 'lib/changed.rb', line 9

def now
  @now
end

#wasObject

Returns the value of attribute was

Returns:

  • (Object)

    the current value of was



9
10
11
# File 'lib/changed.rb', line 9

def was
  @was
end