Module: Tamashii::Config

Defined in:
lib/tamashii/config.rb,
lib/tamashii/config/version.rb,
lib/tamashii/config/attribute.rb

Overview

Tamashii Config module

Defined Under Namespace

Classes: Attribute, NotConfigurableError, Shared

Constant Summary collapse

VERSION =
'0.2.0'

Class Method Summary collapse

Class Method Details

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



37
38
39
40
# File 'lib/tamashii/config.rb', line 37

def method_missing(name, *args, &block)
  return super unless shared.respond_to?(name)
  shared.send(name, *args, &block)
end

.respond_to_missing?(name, _include_private = false) ⇒ Boolean

Returns:

  • (Boolean)


33
34
35
# File 'lib/tamashii/config.rb', line 33

def respond_to_missing?(name, _include_private = false)
  shared.respond_to?(name)
end