Sha256: a967a398ece22f377c5abd2ccb9e042b455078d2a98b4b864daf1c3a14614844
Contents?: true
Size: 363 Bytes
Versions: 6
Compression:
Stored size: 363 Bytes
Contents
module ThemesForRails module Generators class ThemeGenerator < Rails::Generators::NamedBase source_root File.expand_path("../templates", __FILE__) desc "Creates an empty theme." def create_theme theme_dir = File.join(ThemesForRails.config.themes_path, name) directory 'theme', theme_dir end end end end
Version data entries
6 entries across 6 versions & 2 rubygems