lib/table_cloth.rb in table_cloth-0.2.3 vs lib/table_cloth.rb in table_cloth-0.3.0.beta1
- old
+ new
@@ -1,25 +1,24 @@
-require 'action_view'
-require 'active_support/core_ext/class'
-require 'table_cloth/version'
-require 'table_cloth/configurable_elements'
-require 'table_cloth/base'
+require "action_view"
+require "active_support/core_ext/class"
+require "table_cloth/version"
+require "table_cloth/configurable_elements"
+require "table_cloth/base"
module TableCloth
- autoload :Configuration, 'table_cloth/configuration'
- autoload :Builder, 'table_cloth/builder'
- autoload :Column, 'table_cloth/column'
- autoload :Action, 'table_cloth/action'
- autoload :Actions, 'table_cloth/actions'
- autoload :Presenter, 'table_cloth/presenter'
- autoload :ActionViewExtension, 'table_cloth/action_view_extension'
+ autoload :Configuration, "table_cloth/configuration"
+ autoload :Builder, "table_cloth/builder"
+ autoload :Column, "table_cloth/column"
+ autoload :ColumnJury, "table_cloth/column_jury"
+ autoload :Presenter, "table_cloth/presenter"
+ autoload :ActionViewExtension, "table_cloth/action_view_extension"
module Presenters
- autoload :Default, 'table_cloth/presenters/default'
+ autoload :Default, "table_cloth/presenters/default"
end
- module Columns
- autoload :Action, 'table_cloth/columns/action'
+ module Extensions
+ autoload :Actions, "table_cloth/extensions/actions"
end
def config_for(type)
Configuration.config_for(type).dup
end
\ No newline at end of file