module StaticModel
Constants
- MAJOR_VERSION
We use SemVer (semver.org) MAJOR version when you make incompatible API changes
- MINOR_VERSION
MINOR version when you add functionality in a backwards-compatible manner
- PATCH_VERSION
PATCH version when you make backwards-compatible bug fixes
- VERSION
Public Class Methods
configuration()
click to toggle source
# File lib/static_model/configuration.rb, line 10 def self.configuration @configuration ||= Configuration.new end
configure() { |configuration| ... }
click to toggle source
# File lib/static_model/configuration.rb, line 6 def self.configure yield(configuration) end
method_missing(method_sym, *arguments, &block)
click to toggle source
Calls superclass method
# File lib/static_model/configuration.rb, line 14 def self.method_missing(method_sym, *arguments, &block) if configuration.respond_to?(method_sym) configuration.__send__(method_sym) else super end end
respond_to?(method_sym, include_private = false)
click to toggle source
Calls superclass method
# File lib/static_model/configuration.rb, line 22 def self.respond_to?(method_sym, include_private = false) configuration.respond_to?(method_sym, include_private) || super end