I'm assuming this is Rbx.Lua from the looks of it.
Ray.new() takes two parameters. A CFrame direction and a distance in studs. Like so
Ray.new( Direction, Distance)
for instance the following code
local cf = CFrame.new(0, 1, 0)
local ray = Ray.new(cf, 10)
would cast a ray along the Y axis for 10 length units.
now, from the sound of it you have a block and you want the direction the front face of the block is facing. Roblox provides a property for this and it's called 'LookVector'. Thus you can do the following to cast a ray in the direction that a block is facing.
local cf = Part.CFrame.lookVector
local ray = Ray.new(cf, 10)
Edit:
Here's another example, for raycasting between two Roblox Vector3 values.
local point1 = Vector3.new(0,0,0)
local point2 = Vector3.new(0, 1, 0)
local cf = CFrame.new(point1, point2)
local ray = Ray.new(cf, 10)
This will cast a ray from point 1 in the direction of point 2