Sha256: c1c5f7891328100196375e407acb0d7be05f72f6af2dc090522cd2f792467847
Contents?: true
Size: 235 Bytes
Versions: 1
Compression:
Stored size: 235 Bytes
Contents
require 'ostruct' class ConfigStruct < OpenStruct def self.block_to_hash(block=nil) config = self.new if block block.call(config) config.to_hash else {} end end def to_hash @table end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cldwalker-alias-0.1.2 | lib/config_struct.rb |