Module: Nsume::Default

Defined in:
lib/nsume/default.rb

Constant Summary collapse

JQUERY_ENDPOINT =
'https://code.jquery.com/jquery-1.10.2.min.js'.freeze
JQUERY_FILE =
'jquery.min.js'.freeze
BOOTSTRAP_ENDPOINT =
'https://raw.githubusercontent.com/twbs/bootstrap/v3.1.1'.freeze
BOOTSTRAP_CSS_FILE =
'bootstrap.min.css'.freeze
BOOTSTRAP_JS_FILE =
'bootstrap.min.js'.freeze
BOOTSWATCH_ENDPOINT =
'https://raw.githubusercontent.com/thomaspark/bootswatch/v3.1.1'.freeze
BOOTSWATCH_CSS_FILE =
'bootswatch.min.css'.freeze
BOOTSWATCH_JS_FILE =
'bootswatch.js'.freeze
BOOTSWATCH_THEME =
'yeti'.freeze

Class Method Summary collapse

Class Method Details

.bootstrap_css_fileObject



32
33
34
# File 'lib/nsume/default.rb', line 32

def bootstrap_css_file
  BOOTSTRAP_CSS_FILE
end

.bootstrap_endpointObject



28
29
30
# File 'lib/nsume/default.rb', line 28

def bootstrap_endpoint
  BOOTSTRAP_ENDPOINT
end

.bootstrap_js_fileObject



36
37
38
# File 'lib/nsume/default.rb', line 36

def bootstrap_js_file
  BOOTSTRAP_JS_FILE
end

.bootswatch_css_fileObject



44
45
46
# File 'lib/nsume/default.rb', line 44

def bootswatch_css_file
  BOOTSWATCH_CSS_FILE
end

.bootswatch_endpointObject



40
41
42
# File 'lib/nsume/default.rb', line 40

def bootswatch_endpoint
  BOOTSWATCH_ENDPOINT
end

.bootswatch_js_fileObject



48
49
50
# File 'lib/nsume/default.rb', line 48

def bootswatch_js_file
  BOOTSWATCH_JS_FILE
end

.bootswatch_themeObject



52
53
54
# File 'lib/nsume/default.rb', line 52

def bootswatch_theme
  BOOTSWATCH_THEME
end

.jquery_endpointObject



20
21
22
# File 'lib/nsume/default.rb', line 20

def jquery_endpoint
  JQUERY_ENDPOINT
end

.jquery_fileObject



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

def jquery_file
  JQUERY_FILE
end

.optionsObject



16
17
18
# File 'lib/nsume/default.rb', line 16

def options
  Hash[Nsume::Configure.keys.map{|key| [key, send(key)]}]
end