module GithubPages
Copyright © 2016 Nathan Currier
Copyright © 2016 Nathan Currier
Copyright © 2016 Nathan Currier
Constants
- VERSION
Public Class Methods
all_nested_files(dir)
click to toggle source
# File lib/ghpages_deploy/util.rb, line 5 def all_nested_files(dir) files = Dir.glob("#{dir}/**/*", File::FNM_DOTMATCH) files.delete_if { |file| file =~ %r{(^|/)?\.?\.$} } end
Private Instance Methods
all_nested_files(dir)
click to toggle source
# File lib/ghpages_deploy/util.rb, line 5 def all_nested_files(dir) files = Dir.glob("#{dir}/**/*", File::FNM_DOTMATCH) files.delete_if { |file| file =~ %r{(^|/)?\.?\.$} } end