lib/vanagon/component/source/http.rb
def dirname
          if ARCHIVE_EXTENSIONS.include?(@extension)
            return @file.chomp(@extension)
          else
            return './'
          end
        end
# The dirname to reference when building from the source
#
# @return [String] the directory that should be traversed into to build this source
# @raise [RuntimeError] if the @extension for the @file isn't currently handled by the method
The dirname to reference when building from the source
The dirname to reference when building from the source
def dirname
          if ARCHIVE_EXTENSIONS.include?(@extension)
            return @file.chomp(@extension)
          else
            return './'
          end
        end
def dirname if ARCHIVE_EXTENSIONS . include? ( @extension ) return @file . chomp ( @extension ) else return './' end end
The dirname to reference when building from the source
The dirname to reference when building from the source
the directory that should be traversed into to build this source
the directory that should be traversed into to build this source
String
[RuntimeError] if the @extension for the @file isn't currently handled by the method
[ RuntimeError ] if the @extension for the @file isn ' t currently handled by the method