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.
236 |
# File 'sig/types.rbs', line 236
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.
234 235 236 |
# File 'sig/types.rbs', line 234 def cache_control @cache_control end |
#directory ⇒ String (readonly)
Returns the value of attribute directory.
231 232 233 |
# File 'sig/types.rbs', line 231 def directory @directory end |
#index_file ⇒ Boolean (readonly)
Returns the value of attribute index_file.
233 234 235 |
# File 'sig/types.rbs', line 233 def index_file @index_file end |
#route_prefix ⇒ String (readonly)
Returns the value of attribute route_prefix.
232 233 234 |
# File 'sig/types.rbs', line 232 def route_prefix @route_prefix end |