Sha256: 1055dbd82b7e9454649f684855341cc40791baaecba37473629f39a76fad4c97

Contents?: true

Size: 435 Bytes

Versions: 32

Compression:

Stored size: 435 Bytes

Contents

module Hobo
  class SubsiteTaglibGenerator < Rails::Generators::NamedBase
    source_root File.expand_path('../templates', __FILE__)
    include Generators::Hobo::InviteOnly
    include Generators::Hobo::Taglib

    def self.banner
      "rails generate hobo:subsite_taglib NAME [options]"
    end

    def generate_taglib
      template "taglib.dryml.erb", File.join('app/views/taglibs', "#{file_name}_site.dryml")
    end

  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
hobo-1.3.3 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.2 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.1 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.4.0.pre4 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.4.0.pre3 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.4.0.pre2 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.RC4 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.RC3 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.RC2 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.RC1 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.RC lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.pre31 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.pre29 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.pre28 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.pre27 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.pre26 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.pre25 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.pre24 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb
hobo-1.3.0.pre23 lib/generators/hobo/subsite_taglib/subsite_taglib_generator.rb