Sha256: 285b4876a53b19660e253e41bb1ecbbfa8e6ddf3549783b262ac9fd87157a546

Contents?: true

Size: 299 Bytes

Versions: 2

Compression:

Stored size: 299 Bytes

Contents

module SemiStatic
    class Layout < Base
        include Convertable
        
        attr_reader :name
        
        def initialize(site, path)
            super
            @metadata = [ :layout ]
            
            @name = File.basename(source_path, source_ext)
        end
    end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
zzot-semi-static-0.0.2 lib/semi-static/layout.rb
zzot-zzot-semi-static-0.0.1 lib/semi-static/layout.rb