Class: PryTheme::Theme::Definition::Regexp Private

Inherits:
Compound
  • Object
show all
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.

Since:

  • 0.2.0

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.

Since:

  • 0.2.0

[:modifier]

Instance Method Summary collapse

Methods included from PryTheme::Theme::DynamicMethod

#def_dynamic_methods

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.

Since:

  • 0.2.0



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