Class: Pipeable::Steps::As

Inherits:
Abstract show all
Defined in:
lib/pipeable/steps/as.rb

Overview

Messages object, with optional arguments, as different result.

Instance Method Summary collapse

Methods inherited from Abstract

#initialize

Methods included from Composable

#<<, #>>

Constructor Details

This class inherits a constructor from Pipeable::Steps::Abstract

Instance Method Details

#call(result) ⇒ Object



7
8
9
# File 'lib/pipeable/steps/as.rb', line 7

def call result
  result.fmap { |object| object.public_send(*base_positionals, **base_keywords) }
end