Module: OpenHAB::Transform

Defined in:
lib/openhab/rspec/helpers.rb

Overview

Contains loaded Ruby transformations as class methods

Only during testing.

Examples:

Corresponds to ‘transform/compass.script`

OpenHAB::Transform.compass("59 °")

Corresponds to ‘transform/compass.script`

OpenHAB::Transform.compass("30", param: "7")