Class: Cinch::Plugin::ClassMethods::Matcher
- Inherits:
-
Struct
- Object
- Struct
- Cinch::Plugin::ClassMethods::Matcher
- Defined in:
- lib/cinch/plugin.rb
Overview
Represents a Matcher as created by #match.
Instance Attribute Summary collapse
-
#group ⇒ Symbol
The current value of group.
-
#method ⇒ Symbol
The current value of method.
-
#pattern ⇒ String, ...
The current value of pattern.
-
#prefix ⇒ Object
Returns the value of attribute prefix.
-
#react_on ⇒ Object
Returns the value of attribute react_on.
-
#strip_colors ⇒ Object
Returns the value of attribute strip_colors.
-
#suffix ⇒ Object
Returns the value of attribute suffix.
-
#use_prefix ⇒ Boolean
The current value of use_prefix.
-
#use_suffix ⇒ Boolean
The current value of use_suffix.
Instance Attribute Details
#group ⇒ Symbol
Returns the current value of group.
83 84 85 |
# File 'lib/cinch/plugin.rb', line 83 def group @group end |
#method ⇒ Symbol
Returns the current value of method.
83 84 85 |
# File 'lib/cinch/plugin.rb', line 83 def method @method end |
#pattern ⇒ String, ...
Returns the current value of pattern.
83 84 85 |
# File 'lib/cinch/plugin.rb', line 83 def pattern @pattern end |
#prefix ⇒ Object
Returns the value of attribute prefix
83 84 85 |
# File 'lib/cinch/plugin.rb', line 83 def prefix @prefix end |
#react_on ⇒ Object
Returns the value of attribute react_on
83 84 85 |
# File 'lib/cinch/plugin.rb', line 83 def react_on @react_on end |
#strip_colors ⇒ Object
Returns the value of attribute strip_colors
83 84 85 |
# File 'lib/cinch/plugin.rb', line 83 def strip_colors @strip_colors end |
#suffix ⇒ Object
Returns the value of attribute suffix
83 84 85 |
# File 'lib/cinch/plugin.rb', line 83 def suffix @suffix end |
#use_prefix ⇒ Boolean
Returns the current value of use_prefix.
83 84 85 |
# File 'lib/cinch/plugin.rb', line 83 def use_prefix @use_prefix end |
#use_suffix ⇒ Boolean
Returns the current value of use_suffix.
83 84 85 |
# File 'lib/cinch/plugin.rb', line 83 def use_suffix @use_suffix end |