Class: Spout::Application
- Inherits:
-
Object
- Object
- Spout::Application
- Defined in:
- lib/spout/application.rb
Instance Attribute Summary collapse
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Application
constructor
A new instance of Application.
- #load_tasks ⇒ Object
Constructor Details
#initialize ⇒ Application
Returns a new instance of Application.
5 6 7 |
# File 'lib/spout/application.rb', line 5 def initialize @version = '1.0.0' end |
Instance Attribute Details
#version ⇒ Object
Returns the value of attribute version.
3 4 5 |
# File 'lib/spout/application.rb', line 3 def version @version end |
Instance Method Details
#load_tasks ⇒ Object
9 10 11 |
# File 'lib/spout/application.rb', line 9 def load_tasks require "spout/tasks" end |