Sha256: ad17b03b67032c185582983500ca42f1b2424de7a25d3aefcb955bfc24578073
Contents?: true
Size: 247 Bytes
Versions: 3
Compression:
Stored size: 247 Bytes
Contents
# frozen_string_literal: true module Jumon class Configuration attr_reader :model, :temperature def initialize(yaml) config = yaml[:config] @model = config[:model] @temperature = config[:temperature] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
jumon-0.1.2 | lib/jumon/configuration.rb |
jumon-0.1.1 | lib/jumon/configuration.rb |
jumon-0.1.0 | lib/jumon/configuration.rb |