Sha256: 86cd1b8e49858f77dcae87996e9c3d5899b0ad26bdbbd328a32d258a45e05f3e
Contents?: true
Size: 348 Bytes
Versions: 2
Compression:
Stored size: 348 Bytes
Contents
module Ghit class RepoLocator class << self def open page = nil new(page).open end end def initialize(page = nil) @page = page @globals = Ghit::Globals.new end def open %x(open #{build_url}) end private def build_url "#{@globals.url}/#{@page}" end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ghit-0.2.1 | lib/ghit/repo_locator.rb |
ghit-0.2.0 | lib/ghit/repo_locator.rb |