Skip to Content Skip to Search

class ActionView::Template::Sources::File

Public class methods

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

Public instance methods

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

Definition files