1
0
Fork 0
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:
Rob Gleeson 2011-05-06 18:30:37 +01:00
parent 26d584b55b
commit 1ee8af8040
3 changed files with 5 additions and 4 deletions

View file

@ -25,7 +25,7 @@ class Pry
def text
@text ||= Class.new do
extend Pry::Helpers::Color
extend Pry::Helpers::Text
end
end

View file

@ -1,3 +1,3 @@
require "pry/helpers/base_helpers"
require "pry/helpers/command_helpers"
require "pry/helpers/color"
require "pry/helpers/text"

View file

@ -1,8 +1,9 @@
class Pry
module Helpers
# The methods defined on {Color} are available to custom commands.
module Color
# The methods defined on {Text} are available to custom commands.
# See {Pry::CommandContext#text}, which returns an object that responds to all methods defined here.
module Text
extend self