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)
-
- (Symbol) group
The current value of group.
-
- (Symbol) method
The current value of method.
-
- (String, ...) pattern
The current value of pattern.
-
- (Object) prefix
Returns the value of attribute prefix.
-
- (Object) react_on
Returns the value of attribute react_on.
-
- (Object) suffix
Returns the value of attribute suffix.
-
- (Boolean) use_prefix
The current value of use_prefix.
-
- (Boolean) use_suffix
The current value of use_suffix.
Instance Attribute Details
- (Symbol) group
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
82 83 84 |
# File 'lib/cinch/plugin.rb', line 82 def method @method end |
- (String, ...) pattern
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
82 83 84 |
# File 'lib/cinch/plugin.rb', line 82 def prefix @prefix end |
- (Object) react_on
Returns the value of attribute 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
82 83 84 |
# File 'lib/cinch/plugin.rb', line 82 def suffix @suffix end |
- (Boolean) use_prefix
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
82 83 84 |
# File 'lib/cinch/plugin.rb', line 82 def use_suffix @use_suffix end |