diff --git a/lib/table_cloth.rb b/lib/table_cloth.rb index 06c2dd1..dd0a090 100644 --- a/lib/table_cloth.rb +++ b/lib/table_cloth.rb @@ -1,7 +1,6 @@ require "action_view" require "active_support/core_ext/class" require "table_cloth/version" -require "table_cloth/configurable_elements" module TableCloth autoload :Base, "table_cloth/base" diff --git a/lib/table_cloth/configurable_elements.rb b/lib/table_cloth/configurable_elements.rb deleted file mode 100644 index 51f15f9..0000000 --- a/lib/table_cloth/configurable_elements.rb +++ /dev/null @@ -1,14 +0,0 @@ -module TableCloth - module ConfigurableElements - OPTIONS = %w(table thead th tbody tr td).map(&:to_sym) - - extend ActiveSupport::Concern - - included do - OPTIONS.each do |option| - class_attribute option - self.send "#{option}=", ActiveSupport::OrderedOptions.new - end - end - end -end \ No newline at end of file