Method: RDF::Query::HashPatternNormalizer::Counter#to_f

Defined in:
lib/rdf/query/hash_pattern_normalizer.rb

#to_fFloat

Returns a floating point representation of this counter.

Returns:

  • (Float)

Since:

  • 0.3.0



56
57
58
# File 'lib/rdf/query/hash_pattern_normalizer.rb', line 56

def to_f
  @value.to_f
end