Parent

Files

Class/Module Index [+]

Quicksearch

Fog::Storage::Local::Real

Public Class Methods

new(options={}) click to toggle source
# File lib/fog/local/storage.rb, line 55
def initialize(options={})
  require 'mime/types'
  @local_root = ::File.expand_path(options[:local_root])
end

Public Instance Methods

local_root() click to toggle source
# File lib/fog/local/storage.rb, line 60
def local_root
  @local_root
end
path_to(partial) click to toggle source
# File lib/fog/local/storage.rb, line 64
def path_to(partial)
  ::File.join(@local_root, partial)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.