Class: Murdoc::Languages::Ruby

Inherits:
Base
  • Object
show all
Defined in:
lib/murdoc/languages/ruby.rb

Class Method Summary collapse

Methods inherited from Base

annotation_only?, applies_for?, name

Class Method Details

.comment_symbolsObject



5
6
7
8
9
10
11
12
13
# File 'lib/murdoc/languages/ruby.rb', line 5

def self.comment_symbols
  {
    single_line: '#',
    multiline: {
      :begin => "=begin",
      :end => "=end"
    }
  }
end

.extensionsObject



15
16
17
# File 'lib/murdoc/languages/ruby.rb', line 15

def self.extensions
  ['rb']
end