lib/glimmer/data_binding/model_binding.rb in glimmer-0.7.3 vs lib/glimmer/data_binding/model_binding.rb in glimmer-0.7.4

- old
+ new

@@ -230,9 +230,10 @@ object.send(property_expression) end end def invoke_property_writer(object, property_expression, value) + return if @binding_options[:read_only] value = convert_on_write(value) if property_indexed?(property_expression) property_method = '[]=' property_argument = property_expression[1...-2] property_argument = property_argument.to_i if property_argument.match(/\d+/)