Sha256: 88c5bdd44c6898be8ad6d1fb5a0a8665f2de7c91263f433739acddf88c81186b
Contents?: true
Size: 356 Bytes
Versions: 24
Compression:
Stored size: 356 Bytes
Contents
require 'awestruct/astruct_mixin' module Awestruct class AStruct < Hash include AStructMixin def initialize(hash=nil) hash.each{|k,v| self[k]=v } if hash end alias_method :original_entries, :entries undef entries def inspect "AStruct{...}" end def hash() self.output_path.hash end end end
Version data entries
24 entries across 24 versions & 1 rubygems