Skip to Content Skip to Search
Methods
N
T

Class Public methods

new(filename)

# File actionview/lib/action_view/template/sources/file.rb, line 7
def initialize(filename)
  @filename = filename
end

Instance Public methods

to_s()

# File actionview/lib/action_view/template/sources/file.rb, line 11
def to_s
  ::File.binread @filename
end