Class: IB::RakeTask
Class Attribute Summary collapse
-
.created ⇒ Object
writeonly
Sets the attribute created.
Class Method Summary collapse
Instance Method Summary collapse
- #define_tasks ⇒ Object
-
#initialize {|@project| ... } ⇒ RakeTask
constructor
A new instance of RakeTask.
Constructor Details
Class Attribute Details
.created=(value) ⇒ Object (writeonly)
Sets the attribute created
7 8 9 |
# File 'lib/ib/tasks.rb', line 7 def created=(value) @created = value end |
Class Method Details
.created? ⇒ Boolean
8 9 10 |
# File 'lib/ib/tasks.rb', line 8 def created? @@created ||= false end |
Instance Method Details
#define_tasks ⇒ Object
23 24 25 26 27 28 29 |
# File 'lib/ib/tasks.rb', line 23 def define_tasks namespace :ib do task :project do @project.write end end end |