Sha256: 2ca98bd39a00c018805e1e222568407577e5e53eefe3048d73ff605cbed99547
Contents?: true
Size: 862 Bytes
Versions: 13
Compression:
Stored size: 862 Bytes
Contents
require "renalware/hd" module Renalware module HD NullSlot = Naught.build do |config| config.black_hole config.define_explicit_conversions config.predicates_return false attr_reader :diary_id, :diurnal_period_code_id, :station_id, :day_of_week def initialize(diary_id, diurnal_period_code_id, station_id, day_of_week) @diary_id = diary_id @diurnal_period_code_id = diurnal_period_code_id @station_id = station_id @day_of_week = day_of_week end def master? false end def cell_id "#{diurnal_period_code_id}-#{station_id}-#{day_of_week}" end def cache_key [ self.class.name, diary_id, diurnal_period_code_id, station_id, day_of_week ].join("-") end end end end
Version data entries
13 entries across 13 versions & 1 rubygems