lib/ruby_sync/operation.rb in rubysync-0.0.1 vs lib/ruby_sync/operation.rb in rubysync-0.0.2
- old
+ new
@@ -41,10 +41,10 @@
end
remove_method :type=
def type=(type)
unless [:add, :delete, :replace].include? type.to_sym
- raise Exception.new("Invalid operation type '#{value}'")
+ raise Exception.new("Invalid operation type '#{type}'")
end
@type = type
end
remove_method :values=
\ No newline at end of file