Class: DataMaps::Then::Set

Inherits:
Base show all
Defined in:
lib/data_maps/then/set.rb

Overview

A then to set a value

Since:

  • 0.0.1

Instance Attribute Summary

Attributes inherited from Executable

#@option, #option

Instance Method Summary collapse

Methods inherited from Executable

#initialize, valid_collection?

Constructor Details

This class inherits a constructor from DataMaps::Executable

Instance Method Details

#execute(data) ⇒ Object

The execute method which returns the converted data

Parameters:

  • data (mixed)

Since:

  • 0.0.1



10
11
12
# File 'lib/data_maps/then/set.rb', line 10

def execute(data)
  option
end