Module: Ripl::AfterRc

Defined in:
lib/ripl/after_rc.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

VERSION =
'0.1.0'

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(mod) ⇒ Object



5
6
7
# File 'lib/ripl/after_rc.rb', line 5

def self.included(mod)
  Ripl.extend ClassMethods
end

Instance Method Details

#before_loopObject



9
10
11
12
# File 'lib/ripl/after_rc.rb', line 9

def before_loop
  super
  Ripl.after_rcs.each {|e| e.call }
end