Class: Octopress::Ink::Assets::LangConfig

Inherits:
Config
  • Object
show all
Defined in:
lib/octopress-ink/assets/lang_config.rb

Constant Summary

Constants inherited from Asset

Asset::FRONT_MATTER

Instance Attribute Summary collapse

Attributes inherited from Asset

#base, #dir, #exists, #file, #plugin, #replacement, #root

Instance Method Summary collapse

Methods inherited from Config

#fix_permalinks, #info, #read

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

#langObject (readonly)

Returns the value of attribute lang.



5
6
7
# File 'lib/octopress-ink/assets/lang_config.rb', line 5

def lang
  @lang
end