def background=(background)
      if !background.is_a?(TrueClass) && !background.is_a?(FalseClass)
        fail(ArgumentError, "Background should be boolean")
      end

      manager.allowsBackgroundLocationUpdates = background
      @background = background
    end
def background=(background)
      if !background.is_a?(TrueClass) && !background.is_a?(FalseClass)
        fail(ArgumentError, "Background should be boolean")
      end

      manager.allowsBackgroundLocationUpdates = background
      @background = background
    end
Sets whether location should be updated on the background or not.