Sha256: acf5c7fecd97028329e7fb8c5b1b5993ab2a0652a7bd99fa1b28244e7db19f2c
Contents?: true
Size: 332 Bytes
Versions: 8
Compression:
Stored size: 332 Bytes
Contents
module Rasti module DB class ComputedAttribute attr_reader :identifier def initialize(identifier, &join) @identifier = identifier @join = join end def apply_join(dataset) join ? join.call(dataset) : dataset end private attr_reader :join end end end
Version data entries
8 entries across 8 versions & 1 rubygems