Sha256: 8eaa8dbe83ffe548cc99120bc17d6b265b8f3c85163fd58ef4858db220d0e56c

Contents?: true

Size: 311 Bytes

Versions: 34

Compression:

Stored size: 311 Bytes

Contents

module Inch
  module Utils
    # CodeLocation is a utility class to find declarations of objects
    # in files
    class CodeLocation < Struct.new(:base_dir, :relative_path,
                                    :line_no)
      def filename
        File.join(base_dir, relative_path)
      end
    end
  end
end

Version data entries

34 entries across 34 versions & 1 rubygems

Version Path
inch-0.5.7 lib/inch/utils/code_location.rb
inch-0.5.6 lib/inch/utils/code_location.rb
inch-0.5.5 lib/inch/utils/code_location.rb
inch-0.5.4 lib/inch/utils/code_location.rb
inch-0.5.3 lib/inch/utils/code_location.rb
inch-0.5.2 lib/inch/utils/code_location.rb
inch-0.5.1 lib/inch/utils/code_location.rb
inch-0.5.0 lib/inch/utils/code_location.rb
inch-0.5.0.rc11 lib/inch/utils/code_location.rb
inch-0.5.0.rc10 lib/inch/utils/code_location.rb
inch-0.5.0.rc9 lib/inch/utils/code_location.rb
inch-0.5.0.rc8 lib/inch/utils/code_location.rb
inch-0.5.0.rc7 lib/inch/utils/code_location.rb
inch-0.5.0.rc6 lib/inch/utils/code_location.rb