Sha256: e3277b258a2ba12482e0923b7b1b659b9e31a1e4307159f373f833768e474fa9

Contents?: true

Size: 251 Bytes

Versions: 2

Compression:

Stored size: 251 Bytes

Contents

module SemiStatic
    class Snippet < Base
        include Convertable
        
        attr_reader :name
        
        def initialize(site, path)
            super
            @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/snippet.rb
zzot-zzot-semi-static-0.0.1 lib/semi-static/snippet.rb