Module: Postview::Application

Defined in:
lib/postview/application.rb,
lib/postview/application/blog.rb

Overview

Copyright © 2009 Hallison Batista

Defined Under Namespace

Classes: Blog

Class Method Summary collapse

Class Method Details

.call(env) ⇒ Object



8
9
10
11
12
13
14
15
16
17
18
19
20
# File 'lib/postview/application.rb', line 8

def self.call(env)
  puts <<-end_msg.gsub(/^[ ]{6}/,'')
    #{Postview::version_summary}
    >> DEPRECATION WARNING
       The run Postview::Application is deprecated. Instead use
       Postview::Application::Blog to call blogware.

       Thanks.
       
       Visit http://github.com/hallison/postview/tree/news for more information.
  end_msg
  Blog.call(env)
end