Class: Needle::IncludeExcludePattern

Inherits:
Struct
  • Object
show all
Defined in:
lib/needle/include-exclude.rb

Overview

A simple structure for representing a single include/exclude pattern.

Instance Attribute Summary collapse

Instance Attribute Details

#arityObject

Returns the value of attribute arity


22
23
24
# File 'lib/needle/include-exclude.rb', line 22

def arity
  @arity
end

#comparitorObject

Returns the value of attribute comparitor


22
23
24
# File 'lib/needle/include-exclude.rb', line 22

def comparitor
  @comparitor
end

#nameObject

Returns the value of attribute name


22
23
24
# File 'lib/needle/include-exclude.rb', line 22

def name
  @name
end