Sha256: 08768a4f5aae7b60d0bed41f4bcf3b57b532c4c415fdd9c125697909defa2210
Contents?: true
Size: 272 Bytes
Versions: 28
Compression:
Stored size: 272 Bytes
Contents
module Config module Sources class HashSource attr_accessor :hash def initialize(hash) @hash = hash end # returns hash that was passed in to initialize def load hash.is_a?(Hash) ? hash : {} end end end end
Version data entries
28 entries across 28 versions & 2 rubygems