lib/iron/settings/cursor.rb in iron-settings-1.0.0 vs lib/iron/settings/cursor.rb in iron-settings-1.0.1

- old
+ new

@@ -106,11 +106,11 @@ return cursor end elsif item.entry? if query - # Return true if the given item has a (non-default) value - return item_has_value?(item) + # Return true if the given item has a non-nil value + return !item_value(item).nil? else if args.empty? # No args means return the current value (or default if none) return item_value(item) else \ No newline at end of file