Sha256: b45d82c68d2ea1d71cf5251ac66336fa3a8c66c94bec48d9b35fa2f55b961ae6

Contents?: true

Size: 342 Bytes

Versions: 7

Compression:

Stored size: 342 Bytes

Contents

module Hobo
  class SubsiteGenerator < Rails::Generators::NamedBase
    source_root File.expand_path('../templates', __FILE__)

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

    include Generators::Hobo::Subsite

    def generate_site_taglib
      invoke 'hobo:subsite_taglib', [name], options
    end

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
hobo-1.3.0.pre16 lib/generators/hobo/subsite/subsite_generator.rb
hobo-1.3.0.pre15 lib/generators/hobo/subsite/subsite_generator.rb
hobo-1.3.0.pre14 lib/generators/hobo/subsite/subsite_generator.rb
hobo-1.3.0.pre13 lib/generators/hobo/subsite/subsite_generator.rb
hobo-1.3.0.pre12 lib/generators/hobo/subsite/subsite_generator.rb
hobo-1.3.0.pre11 lib/generators/hobo/subsite/subsite_generator.rb
hobo-1.3.0.pre10 lib/generators/hobo/subsite/subsite_generator.rb