Module: Bootstrap::Switch

Defined in:
lib/bootstrap-switch.rb,
lib/bootstrap-switch/version.rb

Constant Summary collapse

VERSION_STRING =

This is updated via the ‘grunt bump` command, which has a pretty unflexible matching syntax.

"'version': '1.9.0'"
VERSION =

Then, just the version.

VERSION_STRING.match(/\d+\.\d+\.\d+/)[0]

Class Method Summary collapse

Class Method Details

.base_directoryObject



5
6
7
# File 'lib/bootstrap-switch.rb', line 5

def self.base_directory
  File.expand_path('../../compass', __FILE__)
end