lib/neovim/current.rb in neovim-0.3.1 vs lib/neovim/current.rb in neovim-0.3.2
- old
+ new
@@ -36,12 +36,12 @@
end
end
# Set the active buffer.
#
- # @param buffer [Buffer, Fixnum] The target buffer or index.
- # @return [Buffer, Fixnum]
+ # @param buffer [Buffer, Integer] The target buffer or index.
+ # @return [Buffer, Integer]
def buffer=(buffer)
@session.request(:vim_set_current_buffer, buffer)
end
# Get the active window.
@@ -51,12 +51,12 @@
@session.request(:vim_get_current_window)
end
# Set the active window.
#
- # @param window [Window, Fixnum] The target window or index.
- # @return [Window, Fixnum]
+ # @param window [Window, Integer] The target window or index.
+ # @return [Window, Integer]
def window=(window)
@session.request(:vim_set_current_window, window)
end
# Get the active tabpage.
@@ -66,11 +66,11 @@
@session.request(:vim_get_current_tabpage)
end
# Set the active tabpage.
#
- # @param tabpage [Tabpage, Fixnum] The target tabpage or index.
- # @return [Tabpage, Fixnum]
+ # @param tabpage [Tabpage, Integer] The target tabpage or index.
+ # @return [Tabpage, Integer]
def tabpage=(tabpage)
@session.request(:vim_set_current_tabpage, tabpage)
end
# Set the current line range of the current buffer.