Class: Collab::Config
- Inherits:
-
Object
- Object
- Collab::Config
- Defined in:
- lib/collab/config.rb
Instance Attribute Summary collapse
-
#base_record ⇒ Object
Returns the value of attribute base_record.
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#commit_model ⇒ Object
Returns the value of attribute commit_model.
-
#document_model ⇒ Object
Returns the value of attribute document_model.
-
#max_commit_history_length ⇒ Object
Returns the value of attribute max_commit_history_length.
-
#num_js_processes ⇒ Object
Returns the value of attribute num_js_processes.
-
#schema_package ⇒ Object
Returns the value of attribute schema_package.
-
#tracked_position_model ⇒ Object
Returns the value of attribute tracked_position_model.
Instance Method Summary collapse
-
#initialize ⇒ Config
constructor
A new instance of Config.
Constructor Details
#initialize ⇒ Config
Returns a new instance of Config.
27 28 29 30 31 |
# File 'lib/collab/config.rb', line 27 def initialize self.document_model = "Collab::Models::Document" self.commit_model = "Collab::Models::Commit" self.tracked_position_model = "Collab::Models::TrackedPosition" end |
Instance Attribute Details
#base_record ⇒ Object
Returns the value of attribute base_record.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def base_record @base_record end |
#channel ⇒ Object
Returns the value of attribute channel.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def channel @channel end |
#commit_model ⇒ Object
Returns the value of attribute commit_model.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def commit_model @commit_model end |
#document_model ⇒ Object
Returns the value of attribute document_model.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def document_model @document_model end |
#max_commit_history_length ⇒ Object
Returns the value of attribute max_commit_history_length.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def max_commit_history_length @max_commit_history_length end |
#num_js_processes ⇒ Object
Returns the value of attribute num_js_processes.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def num_js_processes @num_js_processes end |
#schema_package ⇒ Object
Returns the value of attribute schema_package.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def schema_package @schema_package end |
#tracked_position_model ⇒ Object
Returns the value of attribute tracked_position_model.
18 19 20 |
# File 'lib/collab/config.rb', line 18 def tracked_position_model @tracked_position_model end |