class File
Ruby 1.8’s File.read don’t support option. read_with_options
ignore optional parameter for 1.8, and act as alias for 1.9 or later.
Public Class Methods
read_with_options(path, opts = {})
click to toggle source
# File lib/jekyll/core_ext.rb, line 78 def self.read_with_options(path, opts = {}) self.read(path) end