Class: Remap::Proxy

Inherits:
ActiveSupport::ProxyObject
  • Object
show all
Extended by:
Dry::Initializer
Includes:
Dry::Core::Constants, Kernel
Defined in:
lib/remap/proxy.rb

Direct Known Subclasses

Compiler, Rule::Map::Enum

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object



5
6
7
# File 'lib/remap/proxy.rb', line 5

def self.const_missing(name)
  ::Object.const_get(name)
end

Instance Method Details

#tap(&block) ⇒ Object

See Object#tap



14
15
16
17
# File 'lib/remap/proxy.rb', line 14

def tap(&block)
  block[self]
  self
end