class Jekyll::Locale::Identity
Attributes
data[R]
id[R]
to_s[R]
Public Class Methods
new(locale_id, metadata)
click to toggle source
# File lib/jekyll/locale/identity.rb, line 8 def initialize(locale_id, metadata) @id = locale_id.to_s @data = metadata end
Public Instance Methods
to_liquid()
click to toggle source
# File lib/jekyll/locale/identity.rb, line 13 def to_liquid @to_liquid ||= data.merge("id" => id) end