lib/gooddata/models/metadata/attribute.rb
def values_for(element_id)
      # element_id = element_id.is_a?(String) ? element_id.match(/\?id=(\d)/)[1] : element_id
      labels.pmap do |label|
        label.find_element_value(element_id)
      end
    end
# For an element id find values (titles) for all display forms. Element id can be given as both number id or URI as a string beginning with /
# @param [Object] element_id Element identifier either Number or a uri as a String
# @return [Array] list of values for certain element. Returned in the same order as is the order of labels
For an element id find values (titles) for all display forms. Element id can be given as both number id or URI as a string beginning with
For an element id find values ( titles ) for all display forms . Element id can be given as both number id or URI as a string beginning with
def values_for(element_id)
      labels.pmap do |label|
        label.find_element_value(element_id)
      end
    end
def values_for ( element_id ) labels . pmap do | label | label . find_element_value ( element_id ) end end
For an element id find values (titles) for all display forms.
For an element id find values ( titles ) for all display forms .
# element_id = element_id.is_a?(String) ? element_id.match(/\?id=(\d)/)[1] : element_id
list of values for certain element. Returned in the same order as is the order of labels
list of values for certain element . Returned in the same order as is the order of labels
Array
element_id
element_id Element identifier either Number or a uri as a String
element_id Element identifier either Number or a uri as a String