Skip to content

Commit

Permalink
initialize variables
Browse files Browse the repository at this point in the history
  • Loading branch information
minad committed Oct 18, 2012
1 parent 87149cf commit 4d404e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/creole/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ def no_escape?; @no_escape; end
def initialize(text, options = {})
@allowed_schemes = %w(http https ftp ftps)
@text = text
@extensions = @no_escape = nil
options.each_pair {|k,v| send("#{k}=", v) }
end

Expand Down

0 comments on commit 4d404e3

Please sign in to comment.