Class: Website::Parameters
- Inherits:
-
Object
- Object
- Website::Parameters
- Defined in:
- lib/website/parameters.rb
Instance Attribute Summary collapse
-
#base_url ⇒ Object
readonly
Returns the value of attribute base_url.
-
#css_path ⇒ Object
readonly
Returns the value of attribute css_path.
-
#current_url ⇒ Object
readonly
Returns the value of attribute current_url.
-
#html_field ⇒ Object
readonly
Returns the value of attribute html_field.
Instance Method Summary collapse
-
#initialize(base_url, current_url, css_path, html_field) ⇒ Parameters
constructor
A new instance of Parameters.
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_url ⇒ Object (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_path ⇒ Object (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_url ⇒ Object (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_field ⇒ Object (readonly)
Returns the value of attribute html_field.
4 5 6 |
# File 'lib/website/parameters.rb', line 4 def html_field @html_field end |