Sha256: 29af25b3eaef501c42ecdec86cd36b7274717da5a678a44b2dfa8db57af9657e

Contents?: true

Size: 1.49 KB

Versions: 17

Compression:

Stored size: 1.49 KB

Contents

module CORL
module Mixin
module Action
module Registration
        
  #-----------------------------------------------------------------------------
  # Registration definitions
    
  def register_network_provider(name, default = nil, locale = nil, &code)
    register_plugin_provider(:CORL, :network, name.to_sym, default, locale, &code)
  end
  
  #---
    
  def register_network_providers(name, default = nil, locale = nil, &code)
    register_plugin_providers(:CORL, :network, name.to_sym, default, locale, &code)
  end
  
  #---
    
  def register_network(name, default = nil, locale = nil, &code)
    register_plugin(:CORL, :network, name.to_sym, default, locale, &code)
  end
  
  #---
    
  def register_networks(name, default = nil, locale = nil, &code)
    register_plugins(:CORL, :network, name.to_sym, default, locale, &code) 
  end
  
  #---
   
  def register_node_provider(name, default = nil, locale = nil, &code)
    register_plugin_provider(:CORL, :node, name.to_sym, default, locale, &code)
  end
  
  #---
    
  def register_node_providers(name, default = nil, locale = nil, &code)
    register_plugin_providers(:CORL, :node, name.to_sym, default, locale, &code)
  end
  
  #---
    
  def register_node(name, default = nil, locale = nil, &code)
    register_plugin(:CORL, :node, name.to_sym, default, locale, &code)
  end
  
  #---
    
  def register_nodes(name, default = nil, locale = nil, &code)
    register_plugins(:CORL, :node, name.to_sym, default, locale, &code) 
  end
end
end
end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
corl-0.5.18 lib/core/mixin/action/registration.rb
corl-0.5.17 lib/core/mixin/action/registration.rb
corl-0.5.16 lib/core/mixin/action/registration.rb
corl-0.5.15 lib/core/mixin/action/registration.rb
corl-0.5.14 lib/core/mixin/action/registration.rb
corl-0.5.13 lib/core/mixin/action/registration.rb
corl-0.5.12 lib/core/mixin/action/registration.rb
corl-0.5.11 lib/core/mixin/action/registration.rb
corl-0.5.10 lib/core/mixin/action/registration.rb
corl-0.5.9 lib/core/mixin/action/registration.rb
corl-0.5.8 lib/core/mixin/action/registration.rb
corl-0.5.7 lib/core/mixin/action/registration.rb
corl-0.5.6 lib/core/mixin/action/registration.rb
corl-0.5.5 lib/core/mixin/action/registration.rb
corl-0.5.4 lib/core/mixin/action/registration.rb
corl-0.5.3 lib/core/mixin/action/registration.rb
corl-0.5.2 lib/core/mixin/action/registration.rb