Sha256: ffd2a2005f898e5761fddb2d1f3f23078b24eaf7915807d8a2d230fb8e3e7be7

Contents?: true

Size: 274 Bytes

Versions: 5

Compression:

Stored size: 274 Bytes

Contents

# encoding: UTF-8

module Spontaneous::Plugins::Site
  module Paths
    extend ActiveSupport::Concern

    module ClassMethods
      def paths(group)
        instance.facets.flat_map { |facet| facet.paths.expanded(group) }
      end
    end # ClassMethods
  end # Paths
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
spontaneous-0.2.0.alpha7 lib/spontaneous/plugins/site/paths.rb
spontaneous-0.2.0.alpha6 lib/spontaneous/plugins/site/paths.rb
spontaneous-0.2.0.alpha5 lib/spontaneous/plugins/site/paths.rb
spontaneous-0.2.0.alpha4 lib/spontaneous/plugins/site/paths.rb
spontaneous-0.2.0.alpha3 lib/spontaneous/plugins/site/paths.rb