blob: 2d3a7dec7f38e263aa93bcdd38a65365acc2c300 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# frozen_string_literal: true
module ActionView
class Template
module Sources
class File
def initialize(filename)
@filename = filename
end
def to_s
::File.binread @filename
end
end
end
end
end
|