# File lib/xml/xpath.rb, line 686 def initialize(num) raise ::TypeError, "must be a Float" unless num.is_a? Float @value = num end