class Tzispa::Config::Base
Public Class Methods
parametrize(params)
click to toggle source
# File lib/tzispa/config/base.rb, line 9 def self.parametrize(params) new(*params&.keys&.map(&:to_sym)).new(*(params&.values&.map do |v| v.is_a?(Hash) ? parametrize(v) : v end)) end
Public Instance Methods
method_missing(m, *args, &block)
click to toggle source
Calls superclass method
# File lib/tzispa/config/base.rb, line 15 def method_missing(m, *args, &block) return if respond_to_missing?(m) super end
respond_to_missing?(_sym, _include_priv)
click to toggle source
# File lib/tzispa/config/base.rb, line 20 def respond_to_missing?(_sym, _include_priv) true end