Module: AuditTracker::DSL::Setup
- Defined in:
- lib/audit_tracker/dsl.rb
Overview
AuditTracker::DSL::Setup is the DSL cotext of the block in AuditTracker.setup
Class Method Summary collapse
Class Method Details
.tracker(key, &block) ⇒ Object
15 16 17 |
# File 'lib/audit_tracker/dsl.rb', line 15 def tracker(key, &block) ::AuditTracker.trackers[key] = Tracking.build(&block) end |