Class: Percolate::Facet::BaseFacet

Inherits:
Object
  • Object
show all
Defined in:
lib/percolate/facet/base_facet.rb

Overview

A base class to build off of.

Direct Known Subclasses

FixtureFacet, HostnameFacet, TagFacet

Instance Method Summary collapse

Instance Method Details

#find(*args) ⇒ String

Finds entity information from the given input.

Parameters:

  • args (Array)

    the argument splat.

Returns:

  • (String)

    the entity name.



26
27
28
# File 'lib/percolate/facet/base_facet.rb', line 26

def find(*args)
  nil
end

#merge(other) ⇒ BaseFacet

Merges the given facet with this one.

Parameters:

Returns:



35
36
37
# File 'lib/percolate/facet/base_facet.rb', line 35

def merge(other)
  BaseFacet.new
end