Sha256: 3547e70d1b7dffbdb858a6fb86ebeeca828a4d52555d7974e4fd8432096dbdc5

Contents?: true

Size: 357 Bytes

Versions: 11

Compression:

Stored size: 357 Bytes

Contents

module SinatraMore
  module HamlRendererGen
    
    HASSLE = <<-HASSLE
module HassleInitializer
  def self.registered(app)
    app.use Hassle
  end
end
HASSLE
    
    def setup_renderer
      require_dependencies 'haml', 'hassle'
      create_file("config/initializers/hassle.rb", HASSLE)
      empty_directory('public/stylesheets/sass')
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
sinatra_more-0.3.24 generators/components/renderers/haml_renderer_gen.rb
sinatra_more-0.3.23 generators/components/renderers/haml_renderer_gen.rb
sinatra_more-0.3.22 generators/components/renderers/haml_renderer_gen.rb
sinatra_more-0.3.21 generators/components/renderers/haml_renderer_gen.rb
sinatra_more-0.3.18 generators/components/renderers/haml_renderer_gen.rb
sinatra_more-0.3.16 generators/components/renderers/haml_renderer_gen.rb
sinatra_more-0.3.15 generators/components/renderers/haml_renderer_gen.rb
sinatra_more-0.3.14 generators/components/renderers/haml_renderer_gen.rb
sinatra_more-0.3.13 generators/components/renderers/haml_renderer_gen.rb
sinatra_more-0.3.12 generators/components/renderers/haml_renderer_gen.rb
sinatra_more-0.3.11 generators/components/renderers/haml_renderer_gen.rb