Class: RspecPuppetFactsUnsupported::UnsupportedFilteringOperation

Inherits:
Object
  • Object
show all
Includes:
RspecPuppetFactsUnsupported
Defined in:
lib/rspec-puppet-facts-unsupported/on_unsupported_os.rb

Overview

Private opertion wrapper class

Constant Summary

Constants included from RspecPuppetFactsUnsupported

VERSION

Instance Method Summary collapse

Methods included from RspecPuppetFactsUnsupported

#on_unsupported_os, verbose=, verbose?, #verbose?

Constructor Details

#initialize(facts_list, opts) ⇒ UnsupportedFilteringOperation

Returns a new instance of UnsupportedFilteringOperation.



226
227
228
229
# File 'lib/rspec-puppet-facts-unsupported/on_unsupported_os.rb', line 226

def initialize(facts_list, opts)
  @opts = opts
  @facts_list = facts_list
end

Instance Method Details

#factsObject



231
232
233
# File 'lib/rspec-puppet-facts-unsupported/on_unsupported_os.rb', line 231

def facts
  postprocess_facts(reject_supported_os)
end