module Dumpster::Entry::Common
Overview
Common elements to be included in all entry structs.
NOTE in an ideal world, this would be an abstract struct that all entries would inherit from. However, the compiler collapsing unions of these into a single virtual type, rather than supported working with these as a sum type that can be branched on.
Direct including types
- Dumpster::Entry::Array
- Dumpster::Entry::Bignum
- Dumpster::Entry::Class
- Dumpster::Entry::Complex
- Dumpster::Entry::Data
- Dumpster::Entry::File
- Dumpster::Entry::Float
- Dumpster::Entry::Hash
- Dumpster::Entry::Match
- Dumpster::Entry::Module
- Dumpster::Entry::Object
- Dumpster::Entry::Rational
- Dumpster::Entry::Regexp
- Dumpster::Entry::String
- Dumpster::Entry::Struct
Defined in:
dumpster/entry/common.crInstance Method Summary
- #==(other : self)
-
#generation
Default generation
-
#hash(hasher)
See
Object#hash(hasher)
Instance Method Detail
def generation
#
Default generation
NOTE This is overridden by entry types which support generation tracking.