Sha256: a5b9cfe015848b6ce33073b4f9ae9f2f68e9de377c1fed0a247eb346d11d42b7
Contents?: true
Size: 426 Bytes
Versions: 4
Compression:
Stored size: 426 Bytes
Contents
module SemiStatic class Snippet < Base include Convertable ## # Snippet Name attr_reader :name ## # Initialize a new Snippet. # # +site+: The Site we belong to. # +path+: Path to the source file. def initialize(site, path) super @name = File.basename(source_path, source_ext) end end end
Version data entries
4 entries across 4 versions & 1 rubygems