Sha256: 8f0ff2d8ba74d04af3293ad06561e44247a962b8562724d888248fc767d2e1fb
Contents?: true
Size: 490 Bytes
Versions: 10
Compression:
Stored size: 490 Bytes
Contents
module Clevic # Tricky, this. Keeps passing on the dataset and # lets it build up, but keeps the result. # Used in the UI block to make a nice syntax for specifying the dataset. class DatasetRoller def initialize( original_dataset ) @rolling_dataset = original_dataset end def dataset @rolling_dataset end def method_missing(meth, *args, &block) @rolling_dataset = @rolling_dataset.send( meth, *args, &block ) self end end end
Version data entries
10 entries across 10 versions & 1 rubygems