module Reactio::Utils

Constants

NIL_STRING

Public Instance Methods

to_option_string(symbol) click to toggle source
# File lib/reactio/utils.rb, line 5
def to_option_string(symbol)
  return NIL_STRING if symbol.nil?
  symbol.to_s.gsub('_', '-')
end