Sha256: b5c0ea03024f5793c6156a64426dcba13ed5d58b8a8cbc983541cee0a971d078
Contents?: true
Size: 258 Bytes
Versions: 40
Compression:
Stored size: 258 Bytes
Contents
class Preferences include ActiveModel::Model def self.attributes [:uppercase_mode] end attr_accessor *self.attributes def self.from_attributes(*args) new self.attributes.zip(args).to_h end def uppercase? uppercase_mode end end
Version data entries
40 entries across 40 versions & 1 rubygems