Class: Spikard::StaticFilesConfig
- Inherits:
-
Object
- Object
- Spikard::StaticFilesConfig
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#cache_control ⇒ String
readonly
Returns the value of attribute cache_control.
-
#directory ⇒ String
readonly
Returns the value of attribute directory.
-
#index_file ⇒ Boolean
readonly
Returns the value of attribute index_file.
-
#route_prefix ⇒ String
readonly
Returns the value of attribute route_prefix.
Instance Method Summary collapse
-
#initialize ⇒ StaticFilesConfig
constructor
A new instance of StaticFilesConfig.
Constructor Details
#initialize ⇒ StaticFilesConfig
Returns a new instance of StaticFilesConfig.
220 |
# File 'sig/types.rbs', line 220
def initialize: (directory: String, route_prefix: String, index_file: bool, ?cache_control: String) -> void
|
Instance Attribute Details
#cache_control ⇒ String (readonly)
Returns the value of attribute cache_control.
218 219 220 |
# File 'sig/types.rbs', line 218 def cache_control @cache_control end |
#directory ⇒ String (readonly)
Returns the value of attribute directory.
215 216 217 |
# File 'sig/types.rbs', line 215 def directory @directory end |
#index_file ⇒ Boolean (readonly)
Returns the value of attribute index_file.
217 218 219 |
# File 'sig/types.rbs', line 217 def index_file @index_file end |
#route_prefix ⇒ String (readonly)
Returns the value of attribute route_prefix.
216 217 218 |
# File 'sig/types.rbs', line 216 def route_prefix @route_prefix end |