Sha256: 36871b849f95acea1f1ac7f35db053947be3a9494ccf5f34e5ed598cf7f1a252
Contents?: true
Size: 252 Bytes
Versions: 2
Compression:
Stored size: 252 Bytes
Contents
require 'captain_config/models/base_config' class CaptainConfig::StringConfig < CaptainConfig::BaseConfig def value self.text end def value=(new_value) self.text = new_value.to_s end def self.coerce(value) value.to_s end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
captain_config-1.1.0 | lib/captain_config/models/string_config.rb |
captain_config-1.0.0 | lib/captain_config/models/string_config.rb |