module Rjax

Constants

VERSION

Public Class Methods

config() { |config| ... } click to toggle source
# File lib/rjax.rb, line 9
def self.config(&block)
  @config ||= ::Rjax::Config.new
  if block_given?
    yield(@config)
    @config.validate!
  else
    @config
  end
end