Class: Auditrail::ClassMethods::AuditOptions
- Inherits:
-
Object
- Object
- Auditrail::ClassMethods::AuditOptions
- Defined in:
- lib/audit_options.rb
Instance Method Summary collapse
- #attributes ⇒ Object
-
#initialize(&block) ⇒ AuditOptions
constructor
A new instance of AuditOptions.
- #user ⇒ Object
Constructor Details
#initialize(&block) ⇒ AuditOptions
Returns a new instance of AuditOptions.
5 6 7 |
# File 'lib/audit_options.rb', line 5 def initialize(&block) instance_eval &block if block end |
Instance Method Details
#attributes ⇒ Object
13 14 15 |
# File 'lib/audit_options.rb', line 13 def attributes @attributes end |
#user ⇒ Object
9 10 11 |
# File 'lib/audit_options.rb', line 9 def user @user end |