Class: SublimeTextKit::Configuration::Model
- Inherits:
-
Struct
- Object
- Struct
- SublimeTextKit::Configuration::Model
- Defined in:
- lib/sublime_text_kit/configuration/model.rb
Overview
Models the settings.
Instance Attribute Summary collapse
-
#metadata_dir ⇒ Object
Returns the value of attribute metadata_dir.
-
#project_roots ⇒ Object
Returns the value of attribute project_roots.
-
#session_path ⇒ Object
Returns the value of attribute session_path.
-
#snippets_format ⇒ Object
Returns the value of attribute snippets_format.
-
#user_dir ⇒ Object
Returns the value of attribute user_dir.
Instance Method Summary collapse
Instance Attribute Details
#metadata_dir ⇒ Object
Returns the value of attribute metadata_dir
8 9 10 |
# File 'lib/sublime_text_kit/configuration/model.rb', line 8 def @metadata_dir end |
#project_roots ⇒ Object
Returns the value of attribute project_roots
8 9 10 |
# File 'lib/sublime_text_kit/configuration/model.rb', line 8 def project_roots @project_roots end |
#session_path ⇒ Object
Returns the value of attribute session_path
8 9 10 |
# File 'lib/sublime_text_kit/configuration/model.rb', line 8 def session_path @session_path end |
#snippets_format ⇒ Object
Returns the value of attribute snippets_format
8 9 10 |
# File 'lib/sublime_text_kit/configuration/model.rb', line 8 def snippets_format @snippets_format end |
#user_dir ⇒ Object
Returns the value of attribute user_dir
8 9 10 |
# File 'lib/sublime_text_kit/configuration/model.rb', line 8 def user_dir @user_dir end |
Instance Method Details
#project_dirs ⇒ Object
11 12 13 14 |
# File 'lib/sublime_text_kit/configuration/model.rb', line 11 def project_dirs Array(project_roots).map { |path| Pathname(path). } .flat_map(&:directories) end |