Sha256: 7c9375262a35bfd7051d4cfbc7785cb5807458e90ed9d142b75d0593546e7097

Contents?: true

Size: 711 Bytes

Versions: 36

Compression:

Stored size: 711 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 'para/component/history'

# 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

36 entries across 36 versions & 1 rubygems

Version Path
para-0.9.4 lib/para/component.rb
para-0.9.3.3 lib/para/component.rb
para-0.9.3.2 lib/para/component.rb
para-0.9.3.1 lib/para/component.rb
para-0.9.2 lib/para/component.rb
para-0.9.0 lib/para/component.rb
para-0.8.15 lib/para/component.rb
para-0.8.14 lib/para/component.rb
para-0.8.13 lib/para/component.rb
para-0.8.12 lib/para/component.rb
para-0.8.11 lib/para/component.rb
para-0.8.10 lib/para/component.rb
para-0.8.9 lib/para/component.rb
para-0.8.8 lib/para/component.rb
para-0.8.7 lib/para/component.rb
para-0.8.5 lib/para/component.rb
para-0.8.3.3 lib/para/component.rb
para-0.8.3.2 lib/para/component.rb
para-0.8.3.1 lib/para/component.rb
para-0.8.3 lib/para/component.rb