summaryrefslogtreecommitdiff
path: root/lib/coderay/encoder.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/coderay/encoder.rb')
-rw-r--r--lib/coderay/encoder.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/coderay/encoder.rb b/lib/coderay/encoder.rb
index dc7bee6..4340b29 100644
--- a/lib/coderay/encoder.rb
+++ b/lib/coderay/encoder.rb
@@ -9,7 +9,7 @@ module CodeRay
# given format.
module Encoders
- # Raised if Encoders[] fails because:
+ # Raised if Encoders::[] fails because:
# * a file could not be found
# * the requested Encoder is not registered
EncoderNotFound = Class.new Exception
@@ -170,7 +170,7 @@ module CodeRay
finish options
end
- # Behave like a proc. The tokens method is converted to a proc.
+ # Behave like a proc. The token method is converted to a proc.
def to_proc
method(:token).to_proc
end