Sha256: f883c72b428482035d0aa4fda4d3cbc9fce669d461f969875209860a0e1e2bdb
Contents?: true
Size: 605 Bytes
Versions: 20
Compression:
Stored size: 605 Bytes
Contents
# frozen_string_literal: true # @api private # @since 0.12.0 class Qonfig::Uploaders::TOML < Qonfig::Uploaders::File class << self # @param settings [Qonfig::Settings] # @param options [Hash<Symbol,Any>] # @param value_processor [Block] # @return [String] # # @api private # @since 0.12.0 def represent_settings(settings, options, &value_processor) settings_hash = if block_given? settings.__to_hash__(transform_value: value_processor) else settings.__to_hash__ end ::TomlRB.dump(settings_hash) end end end
Version data entries
20 entries across 20 versions & 1 rubygems