Class: MDSS

Inherits:
Object
  • Object
show all
Defined in:
lib/mdss.rb

Overview

MDSS will serve as the main class for the gem, providing the hooks to the inner working classes as needed.

Class Method Summary collapse

Class Method Details

.get_extraObject

call-seq:

MDSS.get_extra => MDSSExtra

Provides an instance of MDSSExtra for helper functions throughout the MDSS gem.



17
18
19
# File 'lib/mdss.rb', line 17

def self.get_extra
    MDSSExtra.new
end

.mdss_init(name) ⇒ Object

call-seq:

MDSS.mdss_init(name) => nil

Creates a new simple static site in the directory specified by name. If the directory exists, it will attempt to setup a simple static site within it anyway.



27
28
29
# File 'lib/mdss.rb', line 27

def self.mdss_init(name)
    MDSSInit.mdss_init name
end