mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* remove trailing spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a099c5420c
commit
ae3cb8bc4e
1 changed files with 1 additions and 1 deletions
|
@ -469,7 +469,7 @@ module Psych
|
|||
###
|
||||
# Load the document contained in +filename+. Returns the yaml contained in
|
||||
# +filename+ as a Ruby object, or if the file is empty, it returns
|
||||
# the specified default return value, which defaults to an empty Hash
|
||||
# the specified default return value, which defaults to an empty Hash
|
||||
def self.load_file filename, fallback = false
|
||||
File.open(filename, 'r:bom|utf-8') { |f|
|
||||
self.load f, filename, FALLBACK.new(fallback)
|
||||
|
|
Loading…
Add table
Reference in a new issue