Module: RailsBootstrapMaterialDesign

Defined in:
lib/rails-bootstrap-material-design.rb,
lib/rails-bootstrap-material-design/version.rb

Defined Under Namespace

Classes: Engine

Constant Summary collapse

VERSION =
"0.5.10.1"

Class Method Summary collapse

Class Method Details

.gem_pathObject



5
6
7
# File 'lib/rails-bootstrap-material-design.rb', line 5

def self.gem_path
  Pathname(File.realpath(__FILE__)).join('../..')
end

.gem_specObject



9
10
11
12
13
# File 'lib/rails-bootstrap-material-design.rb', line 9

def self.gem_spec
  Gem::Specification::load(
    gem_path.join("rails-bootstrap-material-design.gemspec").to_s
  )
end

.load_pathsObject



15
16
17
# File 'lib/rails-bootstrap-material-design.rb', line 15

def self.load_paths
  gem_path.join('app/assets').each_child.to_a
end