Sha256: 214f72fecd0dabc1da7c08c382c79fc6235b87f99159928c07092b094e36cf01
Contents?: true
Size: 368 Bytes
Versions: 17
Compression:
Stored size: 368 Bytes
Contents
require 'sugar-high/file' module Rails3::Assist::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
17 entries across 17 versions & 1 rubygems