Module: Forwardable

Included in:
OpenStruct, WithEase::ClosedStruct
Defined in:
lib/with_ease/forwardable.rb

Instance Method Summary collapse

Instance Method Details

#forward(*methods, to:) ⇒ Object



4
5
6
# File 'lib/with_ease/forwardable.rb', line 4

def forward *methods, to:
  def_delegators to, *methods
end