Class: Pry::Command::Ls::Config

Inherits:
Object
  • Object
show all
Defined in:
lib/pry/commands/ls/config.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#builtin_global_colorObject

Returns the value of attribute builtin_global_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def builtin_global_color
  @builtin_global_color
end

#ceilingObject

Returns the value of attribute ceiling.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def ceiling
  @ceiling
end

#class_constant_colorObject

Returns the value of attribute class_constant_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def class_constant_color
  @class_constant_color
end

#class_var_colorObject

Returns the value of attribute class_var_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def class_var_color
  @class_var_color
end

#constant_colorObject

Returns the value of attribute constant_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def constant_color
  @constant_color
end

#exception_constant_colorObject

Returns the value of attribute exception_constant_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def exception_constant_color
  @exception_constant_color
end

#global_var_colorObject

Returns the value of attribute global_var_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def global_var_color
  @global_var_color
end

#heading_colorObject

Returns the value of attribute heading_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def heading_color
  @heading_color
end

#instance_var_colorObject

Returns the value of attribute instance_var_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def instance_var_color
  @instance_var_color
end

#local_var_colorObject

Returns the value of attribute local_var_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def local_var_color
  @local_var_color
end

#method_missing_colorObject

Returns the value of attribute method_missing_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def method_missing_color
  @method_missing_color
end

#private_method_colorObject

Returns the value of attribute private_method_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def private_method_color
  @private_method_color
end

#protected_method_colorObject

Returns the value of attribute protected_method_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def protected_method_color
  @protected_method_color
end

#pry_var_colorObject

Returns the value of attribute pry_var_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def pry_var_color
  @pry_var_color
end

#pseudo_global_colorObject

Returns the value of attribute pseudo_global_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def pseudo_global_color
  @pseudo_global_color
end

#public_method_colorObject

Returns the value of attribute public_method_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def public_method_color
  @public_method_color
end

#separatorObject

Returns the value of attribute separator.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def separator
  @separator
end

#unloaded_constant_colorObject

Returns the value of attribute unloaded_constant_color.



7
8
9
# File 'lib/pry/commands/ls/config.rb', line 7

def unloaded_constant_color
  @unloaded_constant_color
end

Class Method Details

.defaultObject



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'lib/pry/commands/ls/config.rb', line 26

def self.default
  config = new
  config.heading_color = :bright_blue
  config.public_method_color = :default
  config.private_method_color = :blue
  config.protected_method_color = :blue
  config.method_missing_color = :bright_red
  config.local_var_color = :yellow
  config.pry_var_color = :default
  config.instance_var_color = :blue
  config.class_var_color = :bright_blue
  config.global_var_color = :default
  config.builtin_global_color = :cyan
  config.pseudo_global_color = :cyan
  config.constant_color = :default
  config.class_constant_color = :blue
  config.exception_constant_color = :magenta
  config.unloaded_constant_color = :yellow
  config.separator = "  "
  config.ceiling = [Object, Module, Class]
  config
end