Module: RecordHistory

Defined in:
lib/record_history.rb,
lib/record_history/version.rb,
lib/record_history/controller.rb,
lib/record_history/has_record_history.rb,
lib/generators/record_history/install_generator.rb

Defined Under Namespace

Modules: Controller, Model Classes: InstallGenerator

Constant Summary collapse

VERSION =
"0.9.2"

Class Method Summary collapse

Class Method Details

.authorObject



12
13
14
# File 'lib/record_history.rb', line 12

def self.author
  Thread.current[:author]
end

.author=(value) ⇒ Object



8
9
10
# File 'lib/record_history.rb', line 8

def self.author=(value)
  Thread.current[:author] = value
end