Sha256: 4e085d109df6820b47cc8b7715b577abe37840656fc8dfda659300d7dea9abf6
Contents?: true
Size: 394 Bytes
Versions: 2
Compression:
Stored size: 394 Bytes
Contents
# frozen_string_literal: true require 'snippit/version' # Snippit manages code snippets. class Snippit # Snippit::DEFINITIONS is a reserved filename for the snippet definitions. DEFINITIONS = '__definitions__.yml' attr_reader :snippit_dir def initialize(snippit_dir) @snippit_dir = snippit_dir end def definitions_filename File.join(snippit_dir, DEFINITIONS) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
snippit-1.0.1 | lib/snippit.rb |
snippit-1.0.0 | lib/snippit.rb |