Module: Platform
- Defined in:
- lib/hanami/devtools/integration/platform.rb,
lib/hanami/devtools/integration/platform/os.rb,
lib/hanami/devtools/integration/platform/engine.rb,
lib/hanami/devtools/integration/platform/matcher.rb
Overview
Matchers for current OS, Ruby engine.
Defined Under Namespace
Modules: Engine, Os
Classes: Matcher
Class Method Summary
collapse
Class Method Details
.ci? ⇒ Boolean
11
12
13
|
# File 'lib/hanami/devtools/integration/platform.rb', line 11
def self.ci?
ENV.key?("CI")
end
|
.match(&blk) ⇒ Object
15
16
17
|
# File 'lib/hanami/devtools/integration/platform.rb', line 15
def self.match(&blk)
Matcher.match(&blk)
end
|
.match?(**args) ⇒ Boolean
19
20
21
|
# File 'lib/hanami/devtools/integration/platform.rb', line 19
def self.match?(**args)
Matcher.match?(**args)
end
|