Methods
Class Public methods
new(filename)
📝 Source code
# File actionview/lib/action_view/template/sources/file.rb, line 7
def initialize(filename)
@filename = filename
end
🔎 See on GitHub
Instance Public methods
to_s()
📝 Source code
# File actionview/lib/action_view/template/sources/file.rb, line 11
def to_s
::File.binread @filename
end
🔎 See on GitHub