Module: Taskomaly

Defined in:
lib/api.rb,
lib/task.rb,
lib/paper.rb,
lib/project.rb

Defined Under Namespace

Classes: API, Paper, Project, Task

Constant Summary collapse

TAG_REGEX =
/\@\w+/

Class Method Summary collapse

Class Method Details

.Do(task) ⇒ Object



5
6
7
# File 'lib/task.rb', line 5

def self.Do task
  return Task.new(task)
end

.From(file) ⇒ Object



7
8
9
# File 'lib/api.rb', line 7

def self.From file
  return API.new(:config => file)
end

.With(hash) ⇒ Object



11
12
13
# File 'lib/api.rb', line 11

def self.With hash
  return API.new(hash)
end