Class: PryTheme::Theme::Definition::Regexp Private
- Defined in:
- lib/pry-theme/definition.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Constant Summary collapse
- ATTRS =
This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.
[:modifier]
Instance Method Summary collapse
-
#initialize(color_model, &block) ⇒ Regexp
constructor
private
A new instance of Regexp.
Methods included from PryTheme::Theme::DynamicMethod
Methods included from PryTheme::Theme::DefaultAttrs
#method_missing, #set_default_attrs, #set_nested_attrs
Constructor Details
#initialize(color_model, &block) ⇒ Regexp
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of Regexp.
99 100 101 102 103 |
# File 'lib/pry-theme/definition.rb', line 99 def initialize(color_model, &block) @color_model = color_model set_default_attrs(ATTRS) super end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class PryTheme::Theme::DefaultAttrs