Method: Chromate::Effect#name

Defined in:
lib/chromate/effect.rb

#nameSymbol

Get the name of this effect, if it exists.

Returns:

  • (Symbol)


50
51
52
53
54
# File 'lib/chromate/effect.rb', line 50

def name
  if EFFECTS.value?(self)
    EFFECTS.find { |k, v| v == self }.first
  end
end