class Kamaze::DockerImage::Concern::Setup::Config
Config
data structure
@see ruby-doc.org/stdlib-2.0.0/libdoc/ostruct/rdoc/OpenStruct.html
Public Instance Methods
method_missing(method, *args)
click to toggle source
Introduces some strictness on “OpenStruct#method_missing“
@see apidock.com/ruby/OpenStruct/method_missing @return [Object]
Calls superclass method
# File lib/kamaze/docker_image/concern/setup/config.rb, line 24 def method_missing(method, *args) if method[-1] != '=' unless self.to_h.include?(method.to_sym) message = "undefined method `#{method}' for #{self}" raise NoMethodError, message, caller(1) end end super end
respond_to_missing?(method, include_private = false)
click to toggle source
Calls superclass method
# File lib/kamaze/docker_image/concern/setup/config.rb, line 16 def respond_to_missing?(method, include_private = false) super end