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