Sha256: 71d2bddbc4bcfe7e938e1c3ac186f918da65b9e6418afc68b29382949ca352a2

Contents?: true

Size: 242 Bytes

Versions: 6

Compression:

Stored size: 242 Bytes

Contents

module MountainView
  module StyleguideHelper
    def mv_components
      Dir.glob(Rails.root.join("app", "components", "*")).map do |component_dir|
        MountainView::Component.new File.basename(component_dir)
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mountain_view-0.7.0 app/helpers/mountain_view/styleguide_helper.rb
mountain_view-0.6.0 app/helpers/mountain_view/styleguide_helper.rb
mountain_view-0.5.0 app/helpers/mountain_view/styleguide_helper.rb
mountain_view-0.4.3 app/helpers/mountain_view/styleguide_helper.rb
mountain_view-0.4.2 app/helpers/mountain_view/styleguide_helper.rb
mountain_view-0.4.1 app/helpers/mountain_view/styleguide_helper.rb