123456789_123456789_123456789_123456789_123456789_

Class: DummyConfig

Do not use. This class is for internal use only.
Relationships & Source Files
Inherits: Object
Defined in: railties/lib/rails/application/dummy_config.rb

Class Method Summary

Instance Method Summary

Constructor Details

.new(config) ⇒ DummyConfig

[ GitHub ]

  
# File 'railties/lib/rails/application/dummy_config.rb', line 4

def initialize(config)
  @config = config
end

Dynamic Method Handling

This class handles dynamic methods through the method_missing method

#method_missing(selector)

[ GitHub ]

  
# File 'railties/lib/rails/application/dummy_config.rb', line 12

def method_missing(selector, ...)
  if @config.respond_to?(selector)
    @config.send(selector, ...)
  else
    self
  end
end

Instance Method Details

#to_s

[ GitHub ]

  
# File 'railties/lib/rails/application/dummy_config.rb', line 8

def to_s
  "DummyConfig"
end