Sha256: f28aaf750d6d5b98c12a81a22457ce937aa24cb471db62b8483df4e0197d096f
Contents?: true
Size: 653 Bytes
Versions: 1
Compression:
Stored size: 653 Bytes
Contents
require_relative "astruct/behavior" # = astruct.rb: AltStruct implementation # # Author:: Kurtis Rainbolt-Greene # Documentation:: Kurtis Rainbolt-Greene # # AltStruct is an Class and Module (AltStruct::M) that can be used to # create hash-like classes. Allowing you to create an object that can # dynamically accept accessors and behaves very much like a Hash. # class AltStruct # We include all of the AltStruct::Behavior Module in order to give AltStruct # the same behavior as OpenStruct. It's better, however, to simply # include AltStruct::Behavior into your own class. include AltStruct::Behavior end require_relative "astruct/version"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
astruct-3.0.0 | lib/astruct.rb |