lib/concurrent-ruby/concurrent/mutable_struct.rb in concurrent-ruby-1.1.6 vs lib/concurrent-ruby/concurrent/mutable_struct.rb in concurrent-ruby-1.1.7
- old
+ new
@@ -4,11 +4,11 @@
module Concurrent
# An thread-safe variation of Ruby's standard `Struct`. Values can be set at
# construction or safely changed at any time during the object's lifecycle.
#
- # @see http://ruby-doc.org/core-2.2.0/Struct.html Ruby standard library `Struct`
+ # @see http://ruby-doc.org/core/Struct.html Ruby standard library `Struct`
module MutableStruct
include Synchronization::AbstractStruct
# @!macro struct_new
#
@@ -38,10 +38,10 @@
# The last two forms create a new instance of a struct subclass. The number of value
# parameters must be less than or equal to the number of attributes defined for the
# struct. Unset parameters default to nil. Passing more parameters than number of attributes
# will raise an `ArgumentError`.
#
- # @see http://ruby-doc.org/core-2.2.0/Struct.html#method-c-new Ruby standard library `Struct#new`
+ # @see http://ruby-doc.org/core/Struct.html#method-c-new Ruby standard library `Struct#new`
# @!macro struct_values
#
# Returns the values for this struct as an Array.
#