Sha256: 59a00f24970ac66dc968fdc9eb4b865425dc92bb8846b0d3e5c24e212c16cf6b

Contents?: true

Size: 524 Bytes

Versions: 15

Compression:

Stored size: 524 Bytes

Contents

require 'colored'
class TabsGenerator < Rails::Generators::Base
  source_root File.expand_path("../templates", __FILE__)
  def create_tab_file
    template "tabulous.rb", "app/tabs/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 " +
          "app/tabs/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

15 entries across 15 versions & 1 rubygems

Version Path
tabulous-2.1.4 lib/generators/tabs/tabs_generator.rb
tabulous-2.1.3 lib/generators/tabs/tabs_generator.rb
tabulous-2.1.2 lib/generators/tabs/tabs_generator.rb
tabulous-2.1.1 lib/generators/tabs/tabs_generator.rb
tabulous-2.1.0 lib/generators/tabs/tabs_generator.rb
tabulous-2.0.0 lib/generators/tabs/tabs_generator.rb
tabulous-1.3.2 lib/generators/tabs/tabs_generator.rb
tabulous-1.3.1 lib/generators/tabs/tabs_generator.rb
tabulous-1.3.0 lib/generators/tabs/tabs_generator.rb
tabulous-1.2.0 lib/generators/tabs/tabs_generator.rb
tabulous-1.1.0 lib/generators/tabs/tabs_generator.rb
tabulous-1.0.3 lib/generators/tabs/tabs_generator.rb
tabulous-1.0.2 lib/generators/tabs/tabs_generator.rb
tabulous-1.0.1 lib/generators/tabs/tabs_generator.rb
tabulous-1.0.0 lib/generators/tabs/tabs_generator.rb