Class: GoonModelGen::Source::NamedSlice
- Defined in:
- lib/goon_model_gen/source/named_slice.rb
Instance Attribute Summary collapse
-
#base_type_name ⇒ Object
readonly
Returns the value of attribute base_type_name.
Attributes inherited from Type
Attributes included from Contextual
Instance Method Summary collapse
-
#initialize(name, base_type_name) ⇒ NamedSlice
constructor
A new instance of NamedSlice.
Constructor Details
#initialize(name, base_type_name) ⇒ NamedSlice
Returns a new instance of NamedSlice.
12 13 14 15 |
# File 'lib/goon_model_gen/source/named_slice.rb', line 12 def initialize(name, base_type_name) super(name) @base_type_name = base_type_name end |
Instance Attribute Details
#base_type_name ⇒ Object (readonly)
Returns the value of attribute base_type_name.
8 9 10 |
# File 'lib/goon_model_gen/source/named_slice.rb', line 8 def base_type_name @base_type_name end |