Module: VG::ServiceObject::CommonSingletonMethods
- Defined in:
- lib/vg/service_object.rb
Instance Method Summary collapse
- #as_method(name = nil) ⇒ Object (also: #as_so)
- #call ⇒ Object
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 |
#call ⇒ Object
7 8 9 |
# File 'lib/vg/service_object.rb', line 7 def call(...) callable.call(...) end |