Method: Musako::Renderers::Index#initialize

Defined in:
lib/musako/renderers/index.rb

#initialize(file, posts) ⇒ Index

Returns a new instance of Index.



8
9
10
11
12
13
# File 'lib/musako/renderers/index.rb', line 8

def initialize(file, posts)
  super file

  @file_extname = ".html"
  @posts = posts
end