mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
12 lines
281 B
Ruby
12 lines
281 B
Ruby
|
module Middleman::Features::CodeRay
|
||
|
class << self
|
||
|
def registered(app)
|
||
|
begin
|
||
|
require 'haml-coderay'
|
||
|
rescue LoadError
|
||
|
puts "CodeRay not available. Install it with: gem install haml-coderay"
|
||
|
end
|
||
|
end
|
||
|
alias :included :registered
|
||
|
end
|
||
|
end
|