Module: SardonyxRing::DSL

Included in:
App
Defined in:
lib/sardonyx_ring/dsl.rb

Defined Under Namespace

Modules: ClassMethods

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
# File 'lib/sardonyx_ring/dsl.rb', line 5

def self.included(base)
  base.extend(ClassMethods)
end

Instance Method Details

#action_handlersObject



9
10
11
# File 'lib/sardonyx_ring/dsl.rb', line 9

def action_handlers
  self.class.action_handlers
end

#cron_handlersObject



25
26
27
# File 'lib/sardonyx_ring/dsl.rb', line 25

def cron_handlers
  self.class.cron_handlers
end

#event_handlersObject



17
18
19
# File 'lib/sardonyx_ring/dsl.rb', line 17

def event_handlers
  self.class.event_handlers
end

#message_handlersObject



13
14
15
# File 'lib/sardonyx_ring/dsl.rb', line 13

def message_handlers
  self.class.message_handlers
end

#view_handlersObject



21
22
23
# File 'lib/sardonyx_ring/dsl.rb', line 21

def view_handlers
  self.class.view_handlers
end