lib/avm/entries/entry.rb in avm-0.54.0 vs lib/avm/entries/entry.rb in avm-0.55.0
- old
+ new
@@ -44,9 +44,14 @@
def value
optional_value || read
end
+ def value!
+ optional_value.if_present { |v| return v }
+ context_entry.value!
+ end
+
def write(value)
context_entry.value = value
end
private