Sha256: 2a4f1c05da5368b8e8b5cb5099592ec2e191c05b9ec29ad226324ba414826fd8

Contents?: true

Size: 559 Bytes

Versions: 2

Compression:

Stored size: 559 Bytes

Contents

require 'colored'
class TabsGenerator < Rails::Generators::Base
  source_root File.expand_path("../templates", __FILE__)
  def create_tabs_initializer_file
    template "tabulous.rb", "config/initializers/tabulous.rb" 
    puts
    puts ("Tabulous made some guesses about how you want your tabs configured but " +
          "probably got some things wrong.  So you need to edit " +
          "config/initializers/tabulous.rb to your liking.").magenta
    puts
    puts "Don't forget to put <%= tabs %> and <%= subtabs %> in your layout(s).".magenta
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tabulous-0.0.2 lib/generators/tabs/tabs_generator.rb
tabulous-0.0.1 lib/generators/tabs/tabs_generator.rb