Sha256: 04774374a346d62e94e97a59c9140bfaf7e1c9c2a892e98ec84f5aa0e3f18ff1
Contents?: true
Size: 365 Bytes
Versions: 7
Compression:
Stored size: 365 Bytes
Contents
require 'sugar-high/file' module RailsAssist::Artifact::CRUD module Read # TODO: Support :before and :after hash options! def read_artifact(name, options = {}, &block) type = get_type(options) file_name = existing_file_name(name, type) debug "reading from: #{file_name}" File.read_from file_name, options, &block end end end
Version data entries
7 entries across 7 versions & 1 rubygems