Sha256: 8d025d97ffe79a6c2b8fa4b6e18fde92d789275a1fa64bf023628167459d2131

Contents?: true

Size: 193 Bytes

Versions: 3

Compression:

Stored size: 193 Bytes

Contents

# frozen_string_literal: true

def is_single_space(token)
  token.type == :WHITESPACE && token.value == ' '
end

def new_single_space
  PuppetLint::Lexer::Token.new(:WHITESPACE, ' ', 0, 0)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
puppet-lint-manifest_whitespace-check-0.1.2 lib/puppet-lint/plugins/tools.rb
puppet-lint-manifest_whitespace-check-0.1.0 lib/puppet-lint/plugins/tools.rb
puppet-lint-manifest_whitespace-check-0.0.1 lib/puppet-lint/plugins/tools.rb