lib/iron/settings/cursor.rb
# Calculates the value of the given entry item given the current value store
# and item default value.
Calculates the value of the given entry item given the current value store
and item default value.
Calculates the value of the given entry item given the current value store and item default value .
def item_value(item)
      return item_default_value(item) unless item_has_value?(item)
      val = @values.get_value(item.key)
      Settings.restore(val, item.type)
    end
def item_value ( item ) return item_default_value ( item ) unless item_has_value? ( item ) val = @values . get_value ( item . key ) Settings . restore ( val , item . type ) end
Calculates the value of the given entry item given the current value store
and item default value.
Calculates the value of the given entry item given the current value store and item default value .
item
<not_specific>