Skip to content

Commit

Permalink
Merge pull request #338 from spica831/feature/backward_compatible_to_…
Browse files Browse the repository at this point in the history
…v2.2

backward compatible to v2.2 as parser
  • Loading branch information
jonmagic authored Apr 23, 2018
2 parents 453a6e4 + 4fab46e commit e3989a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/dotenv/parser.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ class Parser
class << self
attr_reader :substitutions

def call(string, is_load)
def call(string, is_load = false)
new(string, is_load).call
end
end

def initialize(string, is_load)
def initialize(string, is_load = false)
@string = string
@hash = {}
@is_load = is_load
Expand Down

0 comments on commit e3989a1

Please sign in to comment.