class Quick::FS::FSConstant
Attributes
contents[W]
Public Instance Methods
contents()
click to toggle source
# File lib/quick/fs.rb, line 27 def contents if @contents.respond_to? :call @contents.call else @contents end end
read_file(path)
click to toggle source
# File lib/quick/fs.rb, line 39 def read_file(path) contents.to_s end
size(path)
click to toggle source
# File lib/quick/fs.rb, line 35 def size(path) contents.bytesize end