From: Fabian Senftenberg Date: 2001-12-11T22:23:00+09:00 Subject: [ruby-talk:28211] Re: Ensuring a specific type ts writes: > @start = if s.kind_of? Time Thanks, kind_of now rules my world. :) Now, is it possible to "cast" a block in order to be able to use a specific function on it? Like: #{@start + @duration}.usec where the whole #{} block is supposed to be of kind Time? -- senf