Class: Literal::Attributable::Generators::IVarReader
- Defined in:
- lib/literal/attributable/generators/i_var_reader.rb
Instance Attribute Summary
Attributes included from Nodes
Instance Method Summary collapse
- #body ⇒ Object private
Methods inherited from Reader
Methods inherited from Base
Methods included from Nodes
Constructor Details
This class inherits a constructor from Literal::Attributable::Generators::Reader
Instance Method Details
#body ⇒ Object (private)
7 8 9 10 11 |
# File 'lib/literal/attributable/generators/i_var_reader.rb', line 7 def body [ Ref.new("@#{@attribute.name}") ] end |