Module: Ledger

Defined in:
lib/ledger.rb,
lib/ledger/event.rb,
lib/ledger/version.rb,
lib/ledger/has_events.rb,
lib/ledger/creates_events.rb

Defined Under Namespace

Modules: CreatesEvents, HasEvents Classes: Event

Constant Summary collapse

VERSION =
"0.0.6"
@@event_scope_method =
:current_account
@@event_actor_method =
:current_user
@@redis =
$redis

Class Method Summary collapse

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Ledger)

    the object that the method was called on



14
15
16
# File 'lib/ledger.rb', line 14

def configure
  yield self
end