Class: Cinch::Plugin::ClassMethods::Matcher

Inherits:
Struct
  • Object
show all
Defined in:
lib/cinch/plugin.rb

Overview

Represents a Matcher as created by #match.

Instance Attribute Summary collapse

Instance Attribute Details

#groupSymbol

Returns the current value of group.

Returns:

  • (Symbol)

    the current value of group



85
86
87
# File 'lib/cinch/plugin.rb', line 85

def group
  @group
end

#methodSymbol

Returns the current value of method.

Returns:

  • (Symbol)

    the current value of method



85
86
87
# File 'lib/cinch/plugin.rb', line 85

def method
  @method
end

#patternString, ...

Returns the current value of pattern.

Returns:

  • (String, Regexp, Proc)

    the current value of pattern



85
86
87
# File 'lib/cinch/plugin.rb', line 85

def pattern
  @pattern
end

#prefixObject

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



85
86
87
# File 'lib/cinch/plugin.rb', line 85

def prefix
  @prefix
end

#react_onObject

Returns the value of attribute react_on

Returns:

  • (Object)

    the current value of react_on



85
86
87
# File 'lib/cinch/plugin.rb', line 85

def react_on
  @react_on
end

#strip_colorsObject

Returns the value of attribute strip_colors

Returns:

  • (Object)

    the current value of strip_colors



85
86
87
# File 'lib/cinch/plugin.rb', line 85

def strip_colors
  @strip_colors
end

#suffixObject

Returns the value of attribute suffix

Returns:

  • (Object)

    the current value of suffix



85
86
87
# File 'lib/cinch/plugin.rb', line 85

def suffix
  @suffix
end

#use_prefixBoolean

Returns the current value of use_prefix.

Returns:

  • (Boolean)

    the current value of use_prefix



85
86
87
# File 'lib/cinch/plugin.rb', line 85

def use_prefix
  @use_prefix
end

#use_suffixBoolean

Returns the current value of use_suffix.

Returns:

  • (Boolean)

    the current value of use_suffix



85
86
87
# File 'lib/cinch/plugin.rb', line 85

def use_suffix
  @use_suffix
end