Class: Website::Parameters

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(base_url, current_url, css_path, html_field) ⇒ Parameters

Returns a new instance of Parameters.



6
7
8
9
10
11
# File 'lib/website/parameters.rb', line 6

def initialize(base_url, current_url, css_path, html_field)
  @base_url = base_url
  @current_url = current_url
  @css_path = css_path
  @html_field = html_field
end

Instance Attribute Details

#base_urlObject (readonly)

Returns the value of attribute base_url.



4
5
6
# File 'lib/website/parameters.rb', line 4

def base_url
  @base_url
end

#css_pathObject (readonly)

Returns the value of attribute css_path.



4
5
6
# File 'lib/website/parameters.rb', line 4

def css_path
  @css_path
end

#current_urlObject (readonly)

Returns the value of attribute current_url.



4
5
6
# File 'lib/website/parameters.rb', line 4

def current_url
  @current_url
end

#html_fieldObject (readonly)

Returns the value of attribute html_field.



4
5
6
# File 'lib/website/parameters.rb', line 4

def html_field
  @html_field
end