Module: JekyllPageBoilerplate

Defined in:
lib/jekyll_page_boilerplate.rb,
lib/jekyll_page_boilerplate/init.rb,
lib/jekyll_page_boilerplate/list.rb,
lib/jekyll_page_boilerplate/version.rb

Defined Under Namespace

Modules: Msg Classes: Application, Error, Init, List, Page, Tags

Constant Summary collapse

VERSION =
"5.0.0"

Class Method Summary collapse

Class Method Details

.initObject



12
13
14
15
16
# File 'lib/jekyll_page_boilerplate.rb', line 12

def self.init 
  Msg.try_and_report do
    Init.run
  end
end

.listObject



18
19
20
21
22
# File 'lib/jekyll_page_boilerplate.rb', line 18

def self.list
  Msg.try_and_report do
    List.run
  end
end

.page(boilerplate_name, args, options) ⇒ Object



28
29
30
31
32
# File 'lib/jekyll_page_boilerplate.rb', line 28

def self.page boilerplate_name, args, options
  Msg.try_and_report do
    Page.run(boilerplate_name, args, options)
  end
end

.readmeObject



24
25
26
# File 'lib/jekyll_page_boilerplate.rb', line 24

def self.readme
  Msg.file 'description.md'
end