Class: ProjectBuilder
- Inherits:
-
Object
- Object
- ProjectBuilder
- Defined in:
- lib/kody/builder/project_builder.rb
Instance Method Summary collapse
-
#initialize(group, name) ⇒ ProjectBuilder
constructor
A new instance of ProjectBuilder.
- #to_liquid ⇒ Object
Constructor Details
#initialize(group, name) ⇒ ProjectBuilder
Returns a new instance of ProjectBuilder.
3 4 5 6 |
# File 'lib/kody/builder/project_builder.rb', line 3 def initialize(group, name) @name = name @group = group end |
Instance Method Details
#to_liquid ⇒ Object
8 9 10 11 12 13 |
# File 'lib/kody/builder/project_builder.rb', line 8 def to_liquid { 'group' => @group, 'name'=> @name } end |