Module: Nucleon::Mixin::Action::Registration

Defined in:
lib/core/mixin/action/registration.rb

Instance Method Summary collapse

Instance Method Details

#register_batch(name, default = nil, locale = nil, &code) ⇒ Object




94
95
96
# File 'lib/core/mixin/action/registration.rb', line 94

def register_batch(name, default = nil, locale = nil, &code)
  register_plugin(:CM, :batch, name.to_sym, default, locale, &code)
end

#register_batch_provider(name, default = nil, locale = nil, &code) ⇒ Object




82
83
84
# File 'lib/core/mixin/action/registration.rb', line 82

def register_batch_provider(name, default = nil, locale = nil, &code)
  register_plugin_provider(:CM, :batch, name.to_sym, default, locale, &code)
end

#register_batch_providers(name, default = nil, locale = nil, &code) ⇒ Object




88
89
90
# File 'lib/core/mixin/action/registration.rb', line 88

def register_batch_providers(name, default = nil, locale = nil, &code)
  register_plugin_providers(:CM, :batch, name.to_sym, default, locale, &code)
end

#register_batches(name, default = nil, locale = nil, &code) ⇒ Object




100
101
102
# File 'lib/core/mixin/action/registration.rb', line 100

def register_batches(name, default = nil, locale = nil, &code)
  register_plugins(:CM, :batch, name.to_sym, default, locale, &code)
end

#register_configuration(name, default = nil, locale = nil, &code) ⇒ Object




46
47
48
# File 'lib/core/mixin/action/registration.rb', line 46

def register_configuration(name, default = nil, locale = nil, &code)
  register_plugin(:CM, :configuration, name.to_sym, default, locale, &code)
end

#register_configuration_provider(name, default = nil, locale = nil, &code) ⇒ Object




34
35
36
# File 'lib/core/mixin/action/registration.rb', line 34

def register_configuration_provider(name, default = nil, locale = nil, &code)
  register_plugin_provider(:CM, :configuration, name.to_sym, default, locale, &code)
end

#register_configuration_providers(name, default = nil, locale = nil, &code) ⇒ Object




40
41
42
# File 'lib/core/mixin/action/registration.rb', line 40

def register_configuration_providers(name, default = nil, locale = nil, &code)
  register_plugin_providers(:CM, :configuration, name.to_sym, default, locale, &code)
end

#register_configurations(name, default = nil, locale = nil, &code) ⇒ Object




52
53
54
# File 'lib/core/mixin/action/registration.rb', line 52

def register_configurations(name, default = nil, locale = nil, &code)
  register_plugins(:CM, :configuration, name.to_sym, default, locale, &code)
end

#register_function(name, default = nil, locale = nil, &code) ⇒ Object




142
143
144
# File 'lib/core/mixin/action/registration.rb', line 142

def register_function(name, default = nil, locale = nil, &code)
  register_plugin(:CM, :function, name.to_sym, default, locale, &code)
end

#register_function_provider(name, default = nil, locale = nil, &code) ⇒ Object




130
131
132
# File 'lib/core/mixin/action/registration.rb', line 130

def register_function_provider(name, default = nil, locale = nil, &code)
  register_plugin_provider(:CM, :function, name.to_sym, default, locale, &code)
end

#register_function_providers(name, default = nil, locale = nil, &code) ⇒ Object




136
137
138
# File 'lib/core/mixin/action/registration.rb', line 136

def register_function_providers(name, default = nil, locale = nil, &code)
  register_plugin_providers(:CM, :function, name.to_sym, default, locale, &code)
end

#register_functions(name, default = nil, locale = nil, &code) ⇒ Object




148
149
150
# File 'lib/core/mixin/action/registration.rb', line 148

def register_functions(name, default = nil, locale = nil, &code)
  register_plugins(:CM, :function, name.to_sym, default, locale, &code)
end

#register_plan(name, default = nil, locale = nil, &code) ⇒ Object




22
23
24
# File 'lib/core/mixin/action/registration.rb', line 22

def register_plan(name, default = nil, locale = nil, &code)
  register_plugin(:CM, :plan, name.to_sym, default, locale, &code)
end

#register_plan_provider(name, default = nil, locale = nil, &code) ⇒ Object


Registration definitions



10
11
12
# File 'lib/core/mixin/action/registration.rb', line 10

def register_plan_provider(name, default = nil, locale = nil, &code)
  register_plugin_provider(:CM, :plan, name.to_sym, default, locale, &code)
end

#register_plan_providers(name, default = nil, locale = nil, &code) ⇒ Object




16
17
18
# File 'lib/core/mixin/action/registration.rb', line 16

def register_plan_providers(name, default = nil, locale = nil, &code)
  register_plugin_providers(:CM, :plan, name.to_sym, default, locale, &code)
end

#register_plans(name, default = nil, locale = nil, &code) ⇒ Object




28
29
30
# File 'lib/core/mixin/action/registration.rb', line 28

def register_plans(name, default = nil, locale = nil, &code)
  register_plugins(:CM, :plan, name.to_sym, default, locale, &code)
end

#register_resource(name, default = nil, locale = nil, &code) ⇒ Object




118
119
120
# File 'lib/core/mixin/action/registration.rb', line 118

def register_resource(name, default = nil, locale = nil, &code)
  register_plugin(:CM, :resource, name.to_sym, default, locale, &code)
end

#register_resource_provider(name, default = nil, locale = nil, &code) ⇒ Object




106
107
108
# File 'lib/core/mixin/action/registration.rb', line 106

def register_resource_provider(name, default = nil, locale = nil, &code)
  register_plugin_provider(:CM, :resource, name.to_sym, default, locale, &code)
end

#register_resource_providers(name, default = nil, locale = nil, &code) ⇒ Object




112
113
114
# File 'lib/core/mixin/action/registration.rb', line 112

def register_resource_providers(name, default = nil, locale = nil, &code)
  register_plugin_providers(:CM, :resource, name.to_sym, default, locale, &code)
end

#register_resources(name, default = nil, locale = nil, &code) ⇒ Object




124
125
126
# File 'lib/core/mixin/action/registration.rb', line 124

def register_resources(name, default = nil, locale = nil, &code)
  register_plugins(:CM, :resource, name.to_sym, default, locale, &code)
end

#register_sequence(name, default = nil, locale = nil, &code) ⇒ Object




70
71
72
# File 'lib/core/mixin/action/registration.rb', line 70

def register_sequence(name, default = nil, locale = nil, &code)
  register_plugin(:CM, :sequence, name.to_sym, default, locale, &code)
end

#register_sequence_provider(name, default = nil, locale = nil, &code) ⇒ Object




58
59
60
# File 'lib/core/mixin/action/registration.rb', line 58

def register_sequence_provider(name, default = nil, locale = nil, &code)
  register_plugin_provider(:CM, :sequence, name.to_sym, default, locale, &code)
end

#register_sequence_providers(name, default = nil, locale = nil, &code) ⇒ Object




64
65
66
# File 'lib/core/mixin/action/registration.rb', line 64

def register_sequence_providers(name, default = nil, locale = nil, &code)
  register_plugin_providers(:CM, :sequence, name.to_sym, default, locale, &code)
end

#register_sequences(name, default = nil, locale = nil, &code) ⇒ Object




76
77
78
# File 'lib/core/mixin/action/registration.rb', line 76

def register_sequences(name, default = nil, locale = nil, &code)
  register_plugins(:CM, :sequence, name.to_sym, default, locale, &code)
end