Skip to content

Commit

Permalink
add .yardopts and use @Private instead of :nodoc:
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Mar 13, 2012
1 parent 9c89651 commit 6d368ea
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .yardopts
@@ -0,0 +1,3 @@
--no-private
--default-return ''
lib
5 changes: 3 additions & 2 deletions lib/epath/implementation.rb
@@ -1,14 +1,14 @@
# Path's low-level implementation based on Pathname

class Path
# :stopdoc:
# @private
SAME_PATHS = if File::FNM_SYSCASE.nonzero?
lambda { |a,b| a.casecmp(b).zero? }
else
lambda { |a,b| a == b }
end
# :startdoc:

# @private
SEPARATOR_PAT = if File::ALT_SEPARATOR
/[#{Regexp.quote File::ALT_SEPARATOR}\/]/
else
Expand Down Expand Up @@ -106,6 +106,7 @@ def relative_path_from(base_directory)
end
end

# @private
module Helpers
private

Expand Down

0 comments on commit 6d368ea

Please sign in to comment.