Sha256: af4714fb812fb4d5796dd4619497f817ec31dbfd1a61659e60e8d6559164de8e
Contents?: true
Size: 301 Bytes
Versions: 1
Compression:
Stored size: 301 Bytes
Contents
class KyperRails::Theme def initialize(name = "light") @name = name end def scss case @name when "light" "scss/light.scss" when "dark" "scss/dark.scss" else "ERROR: Unknown theme '%{name}' (try 'light' or 'dark' instead)" % {name: @name} end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kyper_rails-0.0.1 | lib/kyper_rails/theme.rb |