Skip to content

Commit

Permalink
minor: deprecated Document class
Browse files Browse the repository at this point in the history
  • Loading branch information
trans committed Nov 9, 2010
1 parent 11f07db commit 0e55878
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
File renamed without changes.
5 changes: 5 additions & 0 deletions lib/neapolitan.rb
Expand Up @@ -3,6 +3,11 @@

module Neapolitan

#
def self.new(source, options={})
Template.new(source, options)
end

#
def self.file(fname, options={})
Template.new(File.new(fname), options)
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 0e55878

Please sign in to comment.