Class: GoonModelGen::Golang::Sentence
- Inherits:
-
Object
- Object
- GoonModelGen::Golang::Sentence
- Defined in:
- lib/goon_model_gen/golang/sentence.rb
Instance Attribute Summary collapse
-
#template_path ⇒ Object
readonly
Returns the value of attribute template_path.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(template_path, type) ⇒ Sentence
constructor
A new instance of Sentence.
Constructor Details
#initialize(template_path, type) ⇒ Sentence
Returns a new instance of Sentence.
11 12 13 14 |
# File 'lib/goon_model_gen/golang/sentence.rb', line 11 def initialize(template_path, type) @template_path = template_path @type = type end |
Instance Attribute Details
#template_path ⇒ Object (readonly)
Returns the value of attribute template_path.
6 7 8 |
# File 'lib/goon_model_gen/golang/sentence.rb', line 6 def template_path @template_path end |
#type ⇒ Object (readonly)
Returns the value of attribute type.
7 8 9 |
# File 'lib/goon_model_gen/golang/sentence.rb', line 7 def type @type end |