class Pure::Sass::DefaultTranslation

Public Instance Methods

method_missing(method, *args) click to toggle source
# File lib/pure/sass/default_translation.rb, line 14
def method_missing(method, *args)
  "$#{dasherize(method)}"
end
prefix()
Alias for: yuiCssPrefix
respond_to?(method_name) click to toggle source
# File lib/pure/sass/default_translation.rb, line 18
def respond_to?(method_name)
  true
end
skinName() click to toggle source

We are currently regex'ing this out.

# File lib/pure/sass/default_translation.rb, line 10
def skinName
  "IM_GONNA_CUT_YOU_SO_BAD_YOU_GONNA_WISH_I_DIDNT_CUT_YOU_SO_BAD"
end
yuiCssPrefix() click to toggle source
# File lib/pure/sass/default_translation.rb, line 4
def yuiCssPrefix
  '.pure-'
end
Also aliased as: prefix

Private Instance Methods

dasherize(str) click to toggle source
# File lib/pure/sass/default_translation.rb, line 24
def dasherize(str)
  str.to_s.gsub(/(.)([A-Z])/,'\1-\2').downcase
end