Class: Lifer::URIStrategy::Base
- Inherits:
-
Object
- Object
- Lifer::URIStrategy::Base
- Defined in:
- lib/lifer/uri_strategy/base.rb
Instance Attribute Summary collapse
-
#root ⇒ Object
readonly
Returns the value of attribute root.
Instance Method Summary collapse
-
#initialize(root:) ⇒ Base
constructor
A new instance of Base.
- #name ⇒ Object
- #output_file(entry) ⇒ Object
Constructor Details
Instance Attribute Details
#root ⇒ Object (readonly)
Returns the value of attribute root.
2 3 4 |
# File 'lib/lifer/uri_strategy/base.rb', line 2 def root @root end |
Instance Method Details
#name ⇒ Object
8 9 10 |
# File 'lib/lifer/uri_strategy/base.rb', line 8 def name raise NotImplementedError, "implement on a subclass" end |
#output_file(entry) ⇒ Object
12 13 14 |
# File 'lib/lifer/uri_strategy/base.rb', line 12 def output_file(entry) raise NotImplementedError, "implement on a subclass" end |