class MirrorMirror::Transformation::Direction
Public Instance Methods
transform_value(name, value)
click to toggle source
# File lib/mirror-mirror/transformation/direction.rb, line 7 def transform_value(name, value) case value when "ltr" "rtl" when "rtl" "ltr" else value end end
transform_value?(name)
click to toggle source
# File lib/mirror-mirror/transformation/direction.rb, line 3 def transform_value?(name) name == "direction" end