Sha256: b2d84c6162bd8c3da12bfca6698cf2c37a5fbd0bdec4d8322a885a6f39c5b29f
Contents?: true
Size: 570 Bytes
Versions: 10
Compression:
Stored size: 570 Bytes
Contents
module Resources class Project < Base def self.configure self.prefix = self.prefix.split("/")[0...-1].join("/") self.site = self.prefix end def self.print_all(options = [], status_property = nil) attributes = [:name, :description] projects = find(:all) projects.send(:extend, Minglr::Extensions::Array) projects = projects.filter(attributes, options) if projects.any? print_collection projects, attributes else warn "No projects found" end end end end
Version data entries
10 entries across 10 versions & 2 rubygems