Sha256: 1c80fd3dc6eb3335c24288b937ac038f6b8f912474873c0a108950777321d98c
Contents?: true
Size: 476 Bytes
Versions: 1
Compression:
Stored size: 476 Bytes
Contents
module Take # Handles project information for a specific project. Tends to represent # an entire directory. class Project # The name of the project. This is normally guessed from the directory # name. # # @return [String] attr_accessor :name # Initialize the project. def initialize(name = nil, &block) raise ArgumentError, "Projects require blocks" unless block_given? @block = block @name = name end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
take-0.0.1 | lib/take/project.rb |