Skip to content

Commit 99c13f8

Browse files
committed
2023-08-21 v. 1.6.0.1: updated docs
1 parent 4ea9b89 commit 99c13f8

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

leetcode-ruby.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ require 'English'
55
::Gem::Specification.new do |s|
66
s.required_ruby_version = '>= 3.0'
77
s.name = 'leetcode-ruby'
8-
s.version = '1.6.0'
8+
s.version = '1.6.0.1'
99
s.license = 'MIT'
1010
s.files = ::Dir['lib/**/*.rb'] + %w[bin/leetcode-ruby README.md LICENSE]
1111
s.executable = 'leetcode-ruby'

lib/common/binary_tree.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ def initialize(val = 0, left = nil, right = nil)
1414
end
1515

1616
# @param {TreeNode} other
17-
# @return {Bool}
17+
# @return {Boolean}
1818
def ==(other)
1919
are_equals(self, other)
2020
end
@@ -23,7 +23,7 @@ def ==(other)
2323

2424
# @param {TreeNode} curr
2525
# @param {TreeNode} other
26-
# @return {Bool}
26+
# @return {Boolean}
2727
def are_equals(curr, other)
2828
return true if curr.nil? && other.nil?
2929
return false if curr.nil? || other.nil?

lib/common/linked_list.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def self.from_array(values)
2626

2727
# @param {ListNode} first
2828
# @param {ListNode} second
29-
# @return {Bool}
29+
# @return {Boolean}
3030
def self.are_equals(first, second)
3131
return true if first.nil? && second.nil?
3232
return false if first.nil? || second.nil?

lib/easy/225_implement_stack_using_queues.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def top
2222
@queue.last
2323
end
2424

25-
# @return {bool}
25+
# @return {Boolean}
2626
def empty
2727
@queue.empty?
2828
end

0 commit comments

Comments
 (0)