Class: LiveFixtures::Export::Template
- Inherits:
-
Struct
- Object
- Struct
- LiveFixtures::Export::Template
- Defined in:
- lib/live_fixtures/export.rb
Overview
Templates allow you to export fixtures containing erb, that will be evaluated at the time of fixture import. You should initialize them with a String containing the erb to evaluate, like
Instance Attribute Summary collapse
-
#code ⇒ Object
Returns the value of attribute code.
Instance Attribute Details
#code ⇒ Object
Returns the value of attribute code
15 16 17 |
# File 'lib/live_fixtures/export.rb', line 15 def code @code end |