Sha256: 6fa49af0a90f78b4b18102d38a48d8027e18d0c5da019edb5b10654c0b605421

Contents?: true

Size: 274 Bytes

Versions: 3

Compression:

Stored size: 274 Bytes

Contents

module Ray
  module Origin
    class Origin

      def initialize(file, lineNumber)
        @file = file
        @lineNumber = lineNumber
      end

      def to_hash
        {
          file: @file,
          line_number: @lineNumber,
        }
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ruby-ray-0.4.1 lib/ray/origin/origin.rb
ruby-ray-0.4.0 lib/ray/origin/origin.rb
ruby-ray-0.3.0 lib/ray/origin/origin.rb