Class: Jekyll::Drops::UnifiedPayloadDrop

Inherits:
Drop
  • Object
show all
Defined in:
lib/jekyll/drops/unified_payload_drop.rb

Constant Summary

Constants inherited from Drop

Drop::NON_CONTENT_METHODS

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Drop

#[], #[]=, #content_methods, #each_key, #initialize, #inspect, #key?, #keys, #merge, #merge!, mutable, mutable?, #to_h

Constructor Details

This class inherits a constructor from Jekyll::Drops::Drop

Instance Attribute Details

#contentObject

Returns the value of attribute content.



8
9
10
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 8

def content
  @content
end

#highlighter_prefixObject

Returns the value of attribute highlighter_prefix.



9
10
11
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 9

def highlighter_prefix
  @highlighter_prefix
end

#highlighter_suffixObject

Returns the value of attribute highlighter_suffix.



9
10
11
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 9

def highlighter_suffix
  @highlighter_suffix
end

#layoutObject

Returns the value of attribute layout.



8
9
10
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 8

def layout
  @layout
end

#pageObject

Returns the value of attribute page.



8
9
10
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 8

def page
  @page
end

#paginatorObject

Returns the value of attribute paginator.



8
9
10
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 8

def paginator
  @paginator
end

Instance Method Details

#jekyllObject



11
12
13
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 11

def jekyll
  JekyllDrop.global
end

#siteObject



15
16
17
# File 'lib/jekyll/drops/unified_payload_drop.rb', line 15

def site
  @site_drop ||= SiteDrop.new(@obj)
end