Class: SimpleAMS::Document::Fields::Field

Inherits:
Struct
  • Object
show all
Defined in:
lib/simple_ams/document/fields.rb

Instance Attribute Summary collapse

Instance Attribute Details

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



6
7
8
# File 'lib/simple_ams/document/fields.rb', line 6

def key
  @key
end

#valueObject

Returns the value of attribute value

Returns:

  • (Object)

    the current value of value



6
7
8
# File 'lib/simple_ams/document/fields.rb', line 6

def value
  @value
end