Skip to content

Commit

Permalink
Marked some internal classes as @Private so Yardoc does not flag them…
Browse files Browse the repository at this point in the history
… as 'undocumented'
  • Loading branch information
alexdowad committed Jan 20, 2015
1 parent 1e95c82 commit 8bbcde6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/hamster/list.rb
Expand Up @@ -1353,6 +1353,7 @@ def done?
@list.empty?
end

# @private
class Left < Realizable
def initialize(splitter, buffer, mutex)
super()
Expand Down Expand Up @@ -1380,6 +1381,7 @@ def realize
end
end

# @private
class Right < Realizable
def initialize(splitter, mutex)
super()
Expand Down
2 changes: 2 additions & 0 deletions lib/hamster/sorted_set.rb
Expand Up @@ -1283,6 +1283,7 @@ def direction(item)
@comparator.call(item, @item)
end

# @private
class Empty
def initialize(comparator); @comparator = comparator; end
def natural_order?; false; end
Expand Down Expand Up @@ -1364,6 +1365,7 @@ def direction(item)
item <=> @item
end

# @private
class Empty < AVLNode::Empty
def initialize; end
def natural_order?; true; end
Expand Down

0 comments on commit 8bbcde6

Please sign in to comment.