Sha256: 43880974fbdcf774a0290bf527b44e662b82384f5af2c37ea09e6393c8860fb2

Contents?: true

Size: 493 Bytes

Versions: 2

Compression:

Stored size: 493 Bytes

Contents

require "rails-bootstrap-material-design/version"

module RailsBootstrapMaterialDesign

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

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

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

  if defined?(Rails)
    class Engine < ::Rails::Engine
      # Rails -> use app/assets directory.
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails-bootstrap-material-design-0.5.10.1 lib/rails-bootstrap-material-design.rb
rails-bootstrap-material-design-0.5.10 lib/rails-bootstrap-material-design.rb