mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Pry::Helpers::Color => Pry::Helpers::Text.
This commit is contained in:
parent
26d584b55b
commit
1ee8af8040
3 changed files with 5 additions and 4 deletions
|
@ -25,7 +25,7 @@ class Pry
|
||||||
|
|
||||||
def text
|
def text
|
||||||
@text ||= Class.new do
|
@text ||= Class.new do
|
||||||
extend Pry::Helpers::Color
|
extend Pry::Helpers::Text
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
require "pry/helpers/base_helpers"
|
require "pry/helpers/base_helpers"
|
||||||
require "pry/helpers/command_helpers"
|
require "pry/helpers/command_helpers"
|
||||||
require "pry/helpers/color"
|
require "pry/helpers/text"
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
class Pry
|
class Pry
|
||||||
module Helpers
|
module Helpers
|
||||||
|
|
||||||
# The methods defined on {Color} are available to custom commands.
|
# The methods defined on {Text} are available to custom commands.
|
||||||
module Color
|
# See {Pry::CommandContext#text}, which returns an object that responds to all methods defined here.
|
||||||
|
module Text
|
||||||
|
|
||||||
extend self
|
extend self
|
||||||
|
|
Loading…
Reference in a new issue