class Pansophy::Remote::File

Public Class Methods

new(file) click to toggle source
# File lib/pansophy/remote/file.rb, line 6
def initialize(file)
  @file = file
end

Public Instance Methods

body() click to toggle source
# File lib/pansophy/remote/file.rb, line 10
def body
  @file.body
end
pathname() click to toggle source
# File lib/pansophy/remote/file.rb, line 14
def pathname
  Pathname.new(@file.key)
end