class Jekyll::Drops::ThemeDrop

Public Instance Methods

authors() click to toggle source
# File lib/jekyll/drops/theme_drop.rb, line 12
def authors
  @authors ||= gemspec.authors.join(", ")
end
description() click to toggle source
# File lib/jekyll/drops/theme_drop.rb, line 20
def description
  @description ||= gemspec.description || gemspec.summary
end
metadata() click to toggle source
# File lib/jekyll/drops/theme_drop.rb, line 24
def metadata
  @metadata ||= gemspec.metadata
end
root() click to toggle source
# File lib/jekyll/drops/theme_drop.rb, line 8
def root
  @root ||= ENV["JEKYLL_ENV"] == "development" ? @obj.root : ""
end
version() click to toggle source
# File lib/jekyll/drops/theme_drop.rb, line 16
def version
  @version ||= gemspec.version.to_s
end

Private Instance Methods

fallback_data() click to toggle source
# File lib/jekyll/drops/theme_drop.rb, line 34
def fallback_data
  @fallback_data ||= {}
end
gemspec() click to toggle source
# File lib/jekyll/drops/theme_drop.rb, line 30
def gemspec
  @gemspec ||= @obj.send(:gemspec)
end