Module: VG::ServiceObject::CommonSingletonMethods

Defined in:
lib/vg/service_object.rb

Instance Method Summary collapse

Instance Method Details

#as_method(name = nil) ⇒ Object Also known as: as_so



11
12
13
# File 'lib/vg/service_object.rb', line 11

def as_method(name = nil)
  ::VG::SO::GenerateIncludableModule.call(self.name, as: name)
end

#callObject



7
8
9
# File 'lib/vg/service_object.rb', line 7

def call(...)
  callable.call(...)
end