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

Returns:

  • (Object)

    the current value of arity



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

def arity
  @arity
end

#comparitorObject

Returns the value of attribute comparitor

Returns:

  • (Object)

    the current value of comparitor



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

def comparitor
  @comparitor
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



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

def name
  @name
end