Class: Ransel::Configuration

Inherits:
Object
  • Object
show all
Defined in:
lib/ransel.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeConfiguration

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_searchObject

Returns the value of attribute principal_search.



20
21
22
# File 'lib/ransel.rb', line 20

def principal_search
  @principal_search
end

#root_pathObject

Returns the value of attribute root_path.



19
20
21
# File 'lib/ransel.rb', line 19

def root_path
  @root_path
end

#root_url_textObject

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

#separatorObject

Returns the value of attribute separator.



18
19
20
# File 'lib/ransel.rb', line 18

def separator
  @separator
end