Class: Rfm::Metadata::ValueListItem
- Defined in:
- lib/rfm/metadata/value_list_item.rb
Overview
The ValueListItem object represents an item in a Filemaker value list. ValueListItem is subclassed from String, so you can use it just like a string. It does have three additional methods to help separate Filemaker value vs display items.
Getting values vs display items:
-
#value the value list item value
-
#display is the value list item display. It could be the same as
value
, or it could be the “second field”, if that option is checked in Filemaker -
#value_list_name is the name of the parent value list, if any
Instance Attribute Summary collapse
-
#display ⇒ Object
readonly
TODO: re-instate saving of value_list_name.
-
#value ⇒ Object
readonly
TODO: re-instate saving of value_list_name.
-
#value_list_name ⇒ Object
readonly
TODO: re-instate saving of value_list_name.
Method Summary
Methods inherited from String
Instance Attribute Details
#display ⇒ Object (readonly)
TODO: re-instate saving of value_list_name.
19 20 21 |
# File 'lib/rfm/metadata/value_list_item.rb', line 19 def display @display end |
#value ⇒ Object (readonly)
TODO: re-instate saving of value_list_name.
19 20 21 |
# File 'lib/rfm/metadata/value_list_item.rb', line 19 def value @value end |
#value_list_name ⇒ Object (readonly)
TODO: re-instate saving of value_list_name.
19 20 21 |
# File 'lib/rfm/metadata/value_list_item.rb', line 19 def value_list_name @value_list_name end |