Class: Perron::Site::Builder::Context
- Inherits:
-
Object
- Object
- Perron::Site::Builder::Context
- Defined in:
- lib/perron/site/builder.rb
Instance Attribute Summary collapse
-
#mode ⇒ Object
readonly
Returns the value of attribute mode.
-
#output_path ⇒ Object
readonly
Returns the value of attribute output_path.
Instance Method Summary collapse
-
#initialize(output_path:, mode:) ⇒ Context
constructor
A new instance of Context.
Constructor Details
#initialize(output_path:, mode:) ⇒ Context
Returns a new instance of Context.
80 81 82 83 |
# File 'lib/perron/site/builder.rb', line 80 def initialize(output_path:, mode:) @output_path = output_path @mode = mode end |
Instance Attribute Details
#mode ⇒ Object (readonly)
Returns the value of attribute mode.
78 79 80 |
# File 'lib/perron/site/builder.rb', line 78 def mode @mode end |
#output_path ⇒ Object (readonly)
Returns the value of attribute output_path.
78 79 80 |
# File 'lib/perron/site/builder.rb', line 78 def output_path @output_path end |