Class: PictureTag::Instructions::JekyllEnv
- Inherits:
-
Instruction
- Object
- Instruction
- PictureTag::Instructions::JekyllEnv
- Defined in:
- lib/jekyll_picture_tag/instructions/children/context.rb
Overview
Digs into jekyll context, returns current environment
Instance Method Summary collapse
Methods inherited from Instruction
Instance Method Details
#source ⇒ Object
19 20 21 |
# File 'lib/jekyll_picture_tag/instructions/children/context.rb', line 19 def source PictureTag.context.environments.first['jekyll']['environment'] end |