Class: Rain::Pages
Defined Under Namespace
Classes: Result
Instance Attribute Summary collapse
-
#url_paths ⇒ Object
readonly
Returns the value of attribute url_paths.
Instance Method Summary collapse
-
#initialize(metadata:) ⇒ Pages
constructor
A new instance of Pages.
- #process(file_path:) ⇒ Object
Constructor Details
#initialize(metadata:) ⇒ Pages
Returns a new instance of Pages.
15 16 17 |
# File 'lib/pages/pages.rb', line 15 def initialize(metadata:) @url_paths = .url_paths end |
Instance Attribute Details
#url_paths ⇒ Object (readonly)
Returns the value of attribute url_paths.
11 12 13 |
# File 'lib/pages/pages.rb', line 11 def url_paths @url_paths end |