Module: Cukebase

Defined in:
lib/cukebase.rb,
lib/cukebase/config.rb,
lib/cukebase/ticket.rb,
lib/cukebase/project.rb,
lib/cukebase/request.rb,
lib/cukebase/version.rb,
lib/cukebase/ticketing_status.rb,
lib/cukebase/ticketing_category.rb

Defined Under Namespace

Classes: Config, Project, Request, Ticket, TicketingCategory, TicketingStatus

Constant Summary collapse

VERSION =
"0.0.1"

Class Method Summary collapse

Class Method Details

.config {|@config| ... } ⇒ Object

Yields:



38
39
40
41
42
# File 'lib/cukebase/config.rb', line 38

def self.config
  @config ||= Config.new
  yield @config if block_given?
  @config
end

.current_projectObject



13
14
15
# File 'lib/cukebase.rb', line 13

def self.current_project
  @current_project ||= Project.new Cukebase.config.project
end