Store new value in this pointer

 @param [Object] value New value for this pointer object.

 @return [Object] Returns +value+.

 @private
771586
def store( value )
      result = value.simplify
      self.class.target.new(result.get).write @value
      result
    end
212437
def value=(value)
      @value = @continuous ? value.to_f : value.round
      @value = [[@value, @range.min].max, @range.max].min
      @handle.x = x + padding_left + ((width - @handle.width) * (@value - @range.min) / (@range.max - @range.min).to_f)
      publish :changed, @value

      @value
    end
362624
def []=(name, value)
      memoized = true
      @memory.compute_if_absent(name) do
        memoized = false
        value
      end
      fail ArgumentError, "The method #{name} is already memoized" if memoized
    end
1004944
def []= index, data
      if index > @size - 1
        # fill in the gaps
        ((index - @size) + 1).times do
          self.push nil
        end
        @last.data = data
      else
        # replace existing value
        current = @first
        index.times do
          current = current.next
        end
        current.data = data
      end
      self
    end
940566
def create(key, value, options = {})
      last = false
      @stack.each {|s| last = s.create(key, value, options) }
      last
    end
1164555
def []=(key, value)
    debug { '[]= ' << key.to_s }

    entry = get_locked_entry(key)
    begin
      return entry.value = value
    ensure
      entry.sync.unlock
    end
  end
606265
def []=(name, value) 
      @server.setAttribute @object_name, javax.management.Attribute.new(name.to_s, value)
    end
151393
def Scope(value) # rubocop:disable Naming/MethodName
      case value
      when ObjectInspector::Scope
        value
      else
        ObjectInspector::Scope.new(value)
      end
    end
494237
def new_with_value_if_need(klass, value)
      if value.is_a?(klass)
        value
      else
        klass.new(value)
      end
    end
765076
def create(key, value, options = {})
      if key? key
        false
      else
        store(key, value, options)
        true
      end
    end
1299522
def append(*values, to: nil)
      keys = Array(to)
      set(*keys, value: Array(fetch(*keys)) + values)
    end
1019537
def host_externally=(new_val)
      return nil if new_val == @host_externally
      raise JSS::InvalidDataError, 'New value must be true or false' unless new_val.jss_boolean?
      @host_externally = new_val
      @need_to_update = true
    end
1369966
def select
      new_array = []
      @array.size.times do |index|
        value = @array[index]
        if yield(value)
          new_array << value
        end
      end

      new_array
    end
139869
def append(self, value):
        

        # We inline this checks to prevent method invocation each time
        if self.children is None:
            self._parse_children()

        self.children.append(self._make_value(value))

        if self._native is not None:
            self._native.append(self.children[-1].native)

        self._mutated = True
923989
def []=(key, new_value)
      key.kind_of?(Symbol) ? self[key.to_s]=new_value : super(key, new_value)
    end
1118147
def new_scope(names)
      values = names.map { |n| self[n] }
      self.class.new(names, values + extras, self)
    end
333484
def properties= value
      value.each do |k,v|
        self.add_property k.to_s, v
      end
    end