Class: Octopress::Ink::Assets::LangConfig
- Defined in:
- lib/octopress-ink/assets/lang_config.rb
Constant Summary
Constants inherited from Asset
Instance Attribute Summary collapse
-
#lang ⇒ Object
readonly
Returns the value of attribute lang.
Attributes inherited from Asset
#base, #dir, #exists, #file, #plugin, #replacement, #root
Instance Method Summary collapse
-
#initialize(plugin, path, lang) ⇒ LangConfig
constructor
A new instance of LangConfig.
Methods inherited from Config
Methods inherited from Asset
#add, #asset_info, #content, #copy, #data, #destination, #disable, #disabled?, #ext, #filename, #info, #is_disabled, #path, #payload, #read, #remove_jekyll_asset, #replaced?
Constructor Details
#initialize(plugin, path, lang) ⇒ LangConfig
Returns a new instance of LangConfig.
7 8 9 10 |
# File 'lib/octopress-ink/assets/lang_config.rb', line 7 def initialize(plugin, path, lang) super(plugin, path) @lang = lang end |
Instance Attribute Details
#lang ⇒ Object (readonly)
Returns the value of attribute lang.
5 6 7 |
# File 'lib/octopress-ink/assets/lang_config.rb', line 5 def lang @lang end |