lib/action_table.rb in action_table-0.1.0 vs lib/action_table.rb in action_table-0.2.0

- old
+ new

@@ -16,15 +16,17 @@ yield(configuration) if block_given? configuration end class Configuration - attr_accessor :table_styles + attr_accessor :styles, :actions, :link_method attr_writer :rails_host_app def initialize @rails_host_app = nil - @table_styles = [] + @styles = [] + @actions = [] + @link_method = :name end def rails_host_app @rails_host_app || raise('rails host app must be configured!') end