Class: GoonModelGen::Source::Context
- Inherits:
-
Object
- Object
- GoonModelGen::Source::Context
- Defined in:
- lib/goon_model_gen/source/context.rb
Instance Attribute Summary collapse
-
#files ⇒ Object
readonly
Returns the value of attribute files.
Instance Method Summary collapse
-
#initialize ⇒ Context
constructor
A new instance of Context.
- #lookup(type_name) ⇒ nil|Type
Constructor Details
#initialize ⇒ Context
Returns a new instance of Context.
8 9 10 |
# File 'lib/goon_model_gen/source/context.rb', line 8 def initialize @files = [] end |
Instance Attribute Details
#files ⇒ Object (readonly)
Returns the value of attribute files.
6 7 8 |
# File 'lib/goon_model_gen/source/context.rb', line 6 def files @files end |
Instance Method Details
#lookup(type_name) ⇒ nil|Type
13 14 |
# File 'lib/goon_model_gen/source/context.rb', line 13 def lookup(type_name) end |