Sha256: fde9919dab0c329c198f2ea4afa9b5b805529ea80dfda4fb375498c275b69082

Contents?: true

Size: 291 Bytes

Versions: 7

Compression:

Stored size: 291 Bytes

Contents

module MountainView
  module StyleguideHelper
    def mv_components
      component_dirs = MountainView.configuration.components_path.join("*")
      Dir.glob(component_dirs).map do |component_dir|
        MountainView::Component.new File.basename(component_dir)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mountain_view-0.11.0 app/helpers/mountain_view/styleguide_helper.rb
mountain_view-0.10.0 app/helpers/mountain_view/styleguide_helper.rb
mountain_view-0.9.1 app/helpers/mountain_view/styleguide_helper.rb
mountain_view-0.9.0 app/helpers/mountain_view/styleguide_helper.rb
mountain_view-0.8.1 app/helpers/mountain_view/styleguide_helper.rb
mountain_view-0.8.0 app/helpers/mountain_view/styleguide_helper.rb
mountain_view-0.7.1 app/helpers/mountain_view/styleguide_helper.rb