Sha256: 3bf49f408fa79b743ead994ef244f747373c975850453fc83dcc46195b469c7e

Contents?: true

Size: 360 Bytes

Versions: 3

Compression:

Stored size: 360 Bytes

Contents

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-language-plugin-1.2.3 lib/jekyll/language_properties.rb
jekyll-language-plugin-1.2.2 lib/jekyll/language_properties.rb
jekyll-language-plugin-1.2.0 lib/jekyll/language_properties.rb