Parent

Methods

Files

Gollum::RemoteCode

Public Class Methods

new(path) click to toggle source
# File lib/gollum-lib/remote_code.rb, line 8
def initialize path
  raise(ArgumentError, 'path is nil or empty') if path.nil? or path.empty?
  @uri = URI(path)
end

Public Instance Methods

contents() click to toggle source
# File lib/gollum-lib/remote_code.rb, line 13
def contents
  @contents ||= req @uri
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.