Sha256: ddf32d924af27e921158b01da607d4083b25864dcf13e1b18b922f2b6a82948b
Contents?: true
Size: 271 Bytes
Versions: 14
Compression:
Stored size: 271 Bytes
Contents
require 'singleton' module Playmo class Options include Singleton attr_accessor :options_hash def set(key, value) @options_hash ||= {} @options_hash[key.to_sym] = value end def get(key) @options_hash[key.to_sym] end end end
Version data entries
14 entries across 14 versions & 1 rubygems