mirror of
https://github.com/middleman/middleman.git
synced 2022-11-09 12:20:27 -05:00
9 lines
No EOL
214 B
Ruby
9 lines
No EOL
214 B
Ruby
begin
|
|
require 'sinatra/content_for'
|
|
|
|
class Middleman::Base
|
|
helpers Sinatra::ContentFor
|
|
end
|
|
rescue LoadError
|
|
puts "Sinatra::ContentFor not available. Install it with: gem install sinatra-content-for"
|
|
end |