Class: ActionController::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/heks/action_controller/base.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.listen_for(message, &block) ⇒ Object



7
8
9
# File 'lib/heks/action_controller/base.rb', line 7

def self.listen_for(message, &block)
  send :define_method, message, &block
end

Instance Method Details

#repositoryObject



3
4
5
# File 'lib/heks/action_controller/base.rb', line 3

def repository
  Repository::Database
end