Module: Middleman::Features::CodeRay

Defined in:
lib/middleman/features/code_ray.rb

Class Method Summary collapse

Class Method Details

.registered(app) ⇒ Object Also known as: included



3
4
5
6
7
8
9
# File 'lib/middleman/features/code_ray.rb', line 3

def registered(app)
  begin
    require 'haml-coderay'
  rescue LoadError
    puts "CodeRay not available. Install it with: gem install haml-coderay"
  end
end