module Gatherable
Constants
- VERSION
Public Class Methods
configuration()
click to toggle source
# File lib/gatherable.rb, line 13 def configuration @configuration ||= Configuration.new end
Also aliased as: config
configure() { |configuration| ... }
click to toggle source
# File lib/gatherable.rb, line 6 def configure return unless configuration.empty? yield configuration create_models create_controllers end
Private Class Methods
create_controllers()
click to toggle source
# File lib/gatherable.rb, line 24 def create_controllers config.data_tables.map(&:controllerify) end
create_models()
click to toggle source
# File lib/gatherable.rb, line 20 def create_models config.data_tables.map(&:classify) end