Sha256: b85869a3628f6fd0547c403d8f5a56d7457fcc864f6e4537c0f98c22a28bfd8c
Contents?: true
Size: 392 Bytes
Versions: 5
Compression:
Stored size: 392 Bytes
Contents
# frozen_string_literal: true require_relative '../numeric_generator' module Dagger module Generate # Generate a floating point value from a format string # # _default.key: # - float: "#{key}" # - float: # - "#{key}" # - ... class Float < NumericGenerator private def from_s(string) string.to_f end end end end
Version data entries
5 entries across 5 versions & 1 rubygems