Module: VipassanaLogoHelper

Defined in:
lib/vipassana/logo_helper.rb

Instance Method Summary collapse

Instance Method Details

#vipassana_logo(locale: I18n.locale, disposition: "normal") ⇒ Object



4
5
6
7
8
# File 'lib/vipassana/logo_helper.rb', line 4

def (locale: I18n.locale, disposition: "normal")
  data = SVGS[locale.to_sym] || SVGS[:en]
  string = data[disposition.to_sym] || data[:normal]
  string.html_safe
end