Module: Puppet
- Defined in:
- lib/puppet-languageserver/puppet_monkey_patches.rb,
lib/puppet-debugserver/puppet_monkey_patches.rb,
lib/puppet-debugserver/puppet_monkey_patches.rb,
lib/puppet-debugserver/puppet_monkey_patches.rb,
lib/puppet-debugserver/puppet_monkey_patches.rb,
lib/puppet-debugserver/puppet_monkey_patches.rb,
lib/puppet-languageserver/puppet_lexer_helper.rb,
lib/puppet-languageserver/puppet_monkey_patches.rb,
lib/puppet-languageserver-sidecar/puppet_modulepath_monkey_patches.rb
Overview
rubocop:disable Style/GlobalVars
Defined Under Namespace
Modules: Environments, Parser, Pops, Util Classes: Application
Class Method Summary collapse
-
.tasks_supported? ⇒ Boolean
Tasks first appeared in Puppet 5.4.0.
Class Method Details
.tasks_supported? ⇒ Boolean
Tasks first appeared in Puppet 5.4.0
28 29 30 |
# File 'lib/puppet-languageserver/puppet_monkey_patches.rb', line 28 def self.tasks_supported? Gem::Version.new(Puppet.version) >= Gem::Version.new('5.4.0') end |