Sha256: 30a5e11a3bddcb3e8c699a99bc5c0e3f99f4f36bddd57e6e829095d5ddcf286a
Contents?: true
Size: 307 Bytes
Versions: 24
Compression:
Stored size: 307 Bytes
Contents
module GoodData::Helpers def home_directory running_on_windows? ? ENV['USERPROFILE'] : ENV['HOME'] end def running_on_windows? RUBY_PLATFORM =~ /mswin32|mingw32/ end def running_on_a_mac? RUBY_PLATFORM =~ /-darwin\d/ end def error(msg) STDERR.puts(msg) exit 1 end end
Version data entries
24 entries across 24 versions & 1 rubygems
Version | Path |
---|---|
gooddata-0.5.1 | lib/gooddata/helpers.rb |
gooddata-0.5.0 | lib/gooddata/helpers.rb |
gooddata-0.4.0 | lib/gooddata/helpers.rb |
gooddata-0.2.0 | lib/gooddata/helpers.rb |