Module: Clockker
- Defined in:
- lib/clockker.rb,
lib/clockker/cli.rb,
lib/clockker/config.rb,
lib/clockker/version.rb,
lib/clockker/watcher.rb,
lib/clockker/white_black_list.rb
Defined Under Namespace
Classes: CLI, Config, Watcher, WhiteBlackList
Constant Summary
collapse
- VERSION =
"0.2.0"
Class Method Summary
collapse
Class Method Details
.macos_version ⇒ Object
4
5
6
7
8
|
# File 'lib/clockker/version.rb', line 4
def self.macos_version
@mov ||= `sw_vers -productVersion`
major, minor, patch = @mov.split('.').map{|x| x.to_i}
return [major, minor, patch]
end
|