Module: BestInPlace

Defined in:
lib/best_in_place.rb,
lib/best_in_place/utils.rb,
lib/best_in_place/engine.rb,
lib/best_in_place/helper.rb,
lib/best_in_place/railtie.rb,
lib/best_in_place/version.rb,
lib/best_in_place/test_helpers.rb,
lib/best_in_place/display_methods.rb,
lib/best_in_place/controller_extensions.rb

Defined Under Namespace

Modules: ControllerExtensions, DisplayMethods, Helper, TestHelpers, Utils Classes: Configuration, Engine, Railtie

Constant Summary collapse

VERSION =
'3.1.0'

Class Method Summary collapse

Class Method Details

.configure {|@configuration| ... } ⇒ Object

Yields:

  • (@configuration)

6
7
8
9
# File 'lib/best_in_place.rb', line 6

def self.configure
  @configuration ||= Configuration.new
  yield @configuration if block_given?
end

.method_missing(method_name, *args, &block) ⇒ Object


11
12
13
14
# File 'lib/best_in_place.rb', line 11

def self.method_missing(method_name, *args, &block)
  @configuration.respond_to?(method_name) ?
      @configuration.send(method_name, *args, &block) : super
end