Sha256: 0ce0daa373269080aa8e4b0c8f1feefd717237eb40a712e5e92b7b07b5959826

Contents?: true

Size: 678 Bytes

Versions: 7

Compression:

Stored size: 678 Bytes

Contents

module Para
  module Component
    def self.registered_components
      @registered_components ||= {}
    end

    def self.registered_component?(identifier)
      registered_components.any? do |component_identifier, _|
        component_identifier == identifier
      end
    end

    def self.config
      @config ||= Para::ComponentsConfiguration.new
    end
  end
end

# Require concerns
require 'para/component/exportable'
require 'para/component/importable'
require 'para/component/subclassable'

# Require models
require 'para/component/base'
require 'para/component/resource'
require 'para/component/crud'
require 'para/component/form'
require 'para/component/settings'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
para-0.7.1 lib/para/component.rb
para-0.7.0 lib/para/component.rb
para-0.6.9 lib/para/component.rb
para-0.6.8 lib/para/component.rb
para-0.6.7 lib/para/component.rb
para-0.6.3 lib/para/component.rb
para-0.6.2 lib/para/component.rb