summaryrefslogtreecommitdiff
path: root/pygments/lexers/ruby.py
diff options
context:
space:
mode:
Diffstat (limited to 'pygments/lexers/ruby.py')
-rw-r--r--pygments/lexers/ruby.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/pygments/lexers/ruby.py b/pygments/lexers/ruby.py
index fa512d37..82aac360 100644
--- a/pygments/lexers/ruby.py
+++ b/pygments/lexers/ruby.py
@@ -29,10 +29,11 @@ RUBY_OPERATORS = (
class RubyLexer(ExtendedRegexLexer):
"""
- For `Ruby <http://www.ruby-lang.org>`_ source code.
+ For Ruby source code.
"""
name = 'Ruby'
+ url = 'http://www.ruby-lang.org'
aliases = ['ruby', 'rb', 'duby']
filenames = ['*.rb', '*.rbw', 'Rakefile', '*.rake', '*.gemspec',
'*.rbx', '*.duby', 'Gemfile', 'Vagrantfile']
@@ -439,7 +440,7 @@ class RubyConsoleLexer(Lexer):
class FancyLexer(RegexLexer):
"""
- Pygments Lexer For `Fancy <http://www.fancy-lang.org/>`_.
+ Pygments Lexer For Fancy.
Fancy is a self-hosted, pure object-oriented, dynamic,
class-based, concurrent general-purpose programming language
@@ -448,6 +449,7 @@ class FancyLexer(RegexLexer):
.. versionadded:: 1.5
"""
name = 'Fancy'
+ url = 'https://github.com/bakkdoor/fancy'
filenames = ['*.fy', '*.fancypack']
aliases = ['fancy', 'fy']
mimetypes = ['text/x-fancysrc']