allow path to be nil

This commit is contained in:
Ben Balter 2014-09-17 12:36:56 -04:00
parent 46a0cf9f1c
commit 568e07da01
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class Licensee
attr_accessor :contents
def initialize(path=nil)
@path = File.expand_path(path)
@path = File.expand_path(path) unless path.nil?
end
def contents