Class: Ransel::Configuration
- Inherits:
-
Object
- Object
- Ransel::Configuration
- Defined in:
- lib/ransel.rb
Instance Attribute Summary collapse
-
#principal_search ⇒ Object
Returns the value of attribute principal_search.
-
#root_path ⇒ Object
Returns the value of attribute root_path.
-
#root_url_text ⇒ Object
Returns the value of attribute root_url_text.
-
#separator ⇒ Object
Returns the value of attribute separator.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
Constructor Details
#initialize ⇒ Configuration
Returns a new instance of Configuration.
22 23 24 25 26 27 |
# File 'lib/ransel.rb', line 22 def initialize @root_url_text = 'init' @separator = ' < ' @root_path = '/' @principal_search = 'title_cont' end |
Instance Attribute Details
#principal_search ⇒ Object
Returns the value of attribute principal_search.
20 21 22 |
# File 'lib/ransel.rb', line 20 def principal_search @principal_search end |
#root_path ⇒ Object
Returns the value of attribute root_path.
19 20 21 |
# File 'lib/ransel.rb', line 19 def root_path @root_path end |
#root_url_text ⇒ Object
Returns the value of attribute root_url_text.
17 18 19 |
# File 'lib/ransel.rb', line 17 def root_url_text @root_url_text end |
#separator ⇒ Object
Returns the value of attribute separator.
18 19 20 |
# File 'lib/ransel.rb', line 18 def separator @separator end |