Module: InertiaRails

Defined in:
lib/inertia_rails.rb,
lib/inertia_rails/lazy.rb,
lib/inertia_rails/rspec.rb,
lib/inertia_rails/engine.rb,
lib/inertia_rails/version.rb,
lib/inertia_rails/renderer.rb,
lib/inertia_rails/controller.rb,
lib/inertia_rails/middleware.rb,
lib/inertia_rails/configuration.rb,
lib/inertia_rails/inertia_rails.rb,
lib/generators/inertia_rails/install_generator.rb,
app/controllers/inertia_rails/static_controller.rb

Defined Under Namespace

Modules: Controller, Helper, RSpec Classes: Configuration, Engine, Error, InstallGenerator, Lazy, Middleware, Renderer, StaticController

Constant Summary collapse

VERSION =
"3.3.0"
CONFIGURATION =
Configuration.default

Class Method Summary collapse

Class Method Details

.configurationObject



13
14
15
# File 'lib/inertia_rails/inertia_rails.rb', line 13

def self.configuration
  CONFIGURATION
end

.configure {|CONFIGURATION| ... } ⇒ Object

Yields:



9
10
11
# File 'lib/inertia_rails/inertia_rails.rb', line 9

def self.configure
  yield(CONFIGURATION)
end

.deprecatorObject

:nodoc:



25
26
27
# File 'lib/inertia_rails.rb', line 25

def self.deprecator # :nodoc:
  @deprecator ||= ActiveSupport::Deprecation.new
end

.lazy(value = nil, &block) ⇒ Object



17
18
19
# File 'lib/inertia_rails/inertia_rails.rb', line 17

def self.lazy(value = nil, &block)
  InertiaRails::Lazy.new(value, &block)
end