Sha256: 8ee8cc749db5fb4542043f9c201e4cf2e5519c2b721940653a24bff52155f07e

Contents?: true

Size: 262 Bytes

Versions: 4

Compression:

Stored size: 262 Bytes

Contents

# encoding: UTF-8

class Spontaneous::Site
  module Paths
    extend Spontaneous::Concern

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
spontaneous-0.2.0.beta4 lib/spontaneous/site/paths.rb
spontaneous-0.2.0.beta3 lib/spontaneous/site/paths.rb
spontaneous-0.2.0.beta2 lib/spontaneous/site/paths.rb
spontaneous-0.2.0.beta1 lib/spontaneous/site/paths.rb