Sha256: 8acf2c9b0aaa6dee49224f9fca78705cad5a21483ff46c0e617113da03004316
Contents?: true
Size: 431 Bytes
Versions: 4
Compression:
Stored size: 431 Bytes
Contents
require File.join(File.dirname(__FILE__), 'slow_actions_computation_module') class SlowActions private class Action include Computable def initialize(name, controller) @name = name @controller = controller @log_entries = [] end attr_reader :name attr_reader :controller def add_entry(la) @log_entries << la la.action = self end attr_reader :log_entries end end
Version data entries
4 entries across 4 versions & 1 rubygems