lib/amber_component.rb in amber_component-0.0.2 vs lib/amber_component.rb in amber_component-0.0.3
- old
+ new
@@ -1,8 +1,7 @@
# frozen_string_literal: true
-require 'rails'
require 'active_support'
require 'active_support/core_ext'
module ::AmberComponent
class Error < ::StandardError; end
@@ -17,8 +16,13 @@
class UnknownStyleType < Error; end
class MultipleStyles < Error; end
end
require_relative 'amber_component/version'
-require_relative 'amber_component/helper'
+require_relative 'amber_component/helpers'
require_relative 'amber_component/typed_content'
+require_relative 'amber_component/template_handler'
+require_relative 'amber_component/views'
+require_relative 'amber_component/assets'
+require_relative 'amber_component/rendering'
require_relative 'amber_component/base'
+require_relative 'amber_component/railtie' if defined?(::Rails::Railtie)