Module: T::InterfaceWrapper::Helpers

Defined in:
lib/types/interface_wrapper.rb

Instance Method Summary collapse

Instance Method Details

#wrap_instance(obj) ⇒ Object



13
14
15
# File 'lib/types/interface_wrapper.rb', line 13

def wrap_instance(obj)
  T::InterfaceWrapper.wrap_instance(obj, self)
end

#wrap_instances(arr) ⇒ Object



17
18
19
# File 'lib/types/interface_wrapper.rb', line 17

def wrap_instances(arr)
  T::InterfaceWrapper.wrap_instances(arr, self)
end