module Mdpresent
Constants
- PLATFORMS
globals
- VERSION
Public Class Methods
platform()
click to toggle source
# File lib/mdpresent.rb, line 15 def self.platform return :heroku if Git.heroku_remote_present? return :github if Git.gh_pages_branch_present? end
root()
click to toggle source
get the root of gem
# File lib/mdpresent.rb, line 21 def self.root File.expand_path '../..', __FILE__ end