lib/nanoc/base/entities/site.rb in nanoc-4.8.11 vs lib/nanoc/base/entities/site.rb in nanoc-4.8.12
- old
+ new
@@ -7,10 +7,10 @@
attr_reader :code_snippets
attr_reader :config
attr_accessor :data_source
- contract C::KeywordArgs[config: Nanoc::Int::Configuration, code_snippets: C::IterOf[Nanoc::Int::CodeSnippet], data_source: C::Maybe[C::Named['Nanoc::DataSource']]] => C::Any
+ contract C::KeywordArgs[config: Nanoc::Int::Configuration, code_snippets: C::IterOf[Nanoc::Int::CodeSnippet], data_source: C::Named['Nanoc::DataSource']] => C::Any
def initialize(config:, code_snippets:, data_source:)
@config = config
@code_snippets = code_snippets
@data_source = data_source