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

- (Symbol) group

The current value of group

Returns:

  • (Symbol)

    the current value of group



82
83
84
# File 'lib/cinch/plugin.rb', line 82

def group
  @group
end

- (Symbol) method

The current value of method

Returns:

  • (Symbol)

    the current value of method



82
83
84
# File 'lib/cinch/plugin.rb', line 82

def method
  @method
end

- (String, ...) pattern

The current value of pattern

Returns:

  • (String, Regexp, Proc)

    the current value of pattern



82
83
84
# File 'lib/cinch/plugin.rb', line 82

def pattern
  @pattern
end

- (Object) prefix

Returns the value of attribute prefix

Returns:

  • (Object)

    the current value of prefix



82
83
84
# File 'lib/cinch/plugin.rb', line 82

def prefix
  @prefix
end

- (Object) react_on

Returns the value of attribute react_on

Returns:

  • (Object)

    the current value of react_on



82
83
84
# File 'lib/cinch/plugin.rb', line 82

def react_on
  @react_on
end

- (Object) suffix

Returns the value of attribute suffix

Returns:

  • (Object)

    the current value of suffix



82
83
84
# File 'lib/cinch/plugin.rb', line 82

def suffix
  @suffix
end

- (Boolean) use_prefix

The current value of use_prefix

Returns:

  • (Boolean)

    the current value of use_prefix



82
83
84
# File 'lib/cinch/plugin.rb', line 82

def use_prefix
  @use_prefix
end

- (Boolean) use_suffix

The current value of use_suffix

Returns:

  • (Boolean)

    the current value of use_suffix



82
83
84
# File 'lib/cinch/plugin.rb', line 82

def use_suffix
  @use_suffix
end