module TerraspaceBundler::Mod::Concerns::LocalConcern

Public Instance Methods

local?() click to toggle source
# File lib/terraspace_bundler/mod/concerns/local_concern.rb, line 3
def local?
  source.starts_with?("/")  ||
  source.starts_with?(".")  ||
  source.starts_with?("..") ||
  source.starts_with?("~")
end