Class: Gordon::Recipe
- Inherits:
-
Object
- Object
- Gordon::Recipe
- Defined in:
- lib/gordon/recipe.rb
Instance Attribute Summary collapse
-
#application ⇒ Object
readonly
Returns the value of attribute application.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #application_template_path ⇒ Object
-
#initialize(options) ⇒ Recipe
constructor
A new instance of Recipe.
Constructor Details
#initialize(options) ⇒ Recipe
Returns a new instance of Recipe.
5 6 7 8 |
# File 'lib/gordon/recipe.rb', line 5 def initialize() = @application = Application::Factory.create() end |
Instance Attribute Details
#application ⇒ Object (readonly)
Returns the value of attribute application.
3 4 5 |
# File 'lib/gordon/recipe.rb', line 3 def application @application end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
3 4 5 |
# File 'lib/gordon/recipe.rb', line 3 def end |
Instance Method Details
#application_template_path ⇒ Object
10 11 12 |
# File 'lib/gordon/recipe.rb', line 10 def application_template_path application.get_template_path end |