Module: Jekyll::LanguageProperties

Included in:
LanguageDocument, LanguagePage
Defined in:
lib/jekyll/language_properties.rb

Instance Method Summary collapse

Instance Method Details

#languageObject



6
7
8
9
# File 'lib/jekyll/language_properties.rb', line 6

def language
  return nil if data.nil? || data['language'].nil?
  data['language']
end

#languagesObject



11
12
13
14
# File 'lib/jekyll/language_properties.rb', line 11

def languages
  return nil if data.nil? || data['languages'].nil?
  data['languages']
end

#subsetObject



16
17
18
19
# File 'lib/jekyll/language_properties.rb', line 16

def subset
  return nil if data.nil? || data['subset'].nil?
  data['subset']
end