Sha256: 90492b302e9e8568d23c933a33ba15856000bbcb48e0be7869197cc0b919890d
Contents?: true
Size: 677 Bytes
Versions: 15
Compression:
Stored size: 677 Bytes
Contents
# coding: utf-8 module Fig; end # Metadata about a package definition file that hasn't been read yet. class Fig::NotYetParsedPackage attr_accessor :descriptor attr_accessor :working_directory attr_accessor :include_file_base_directory attr_accessor :source_description attr_accessor :unparsed_text def extended_source_description() if source_description if source_description.include? "(#{working_directory})" return source_description end extended = source_description if working_directory != '.' extended << " (#{working_directory})" end return extended end return working_directory end end
Version data entries
15 entries across 15 versions & 1 rubygems