Class: Empezar::Scaffold
- Inherits:
-
Object
- Object
- Empezar::Scaffold
- Defined in:
- lib/empezar/scaffold.rb
Instance Method Summary collapse
-
#initialize(smas, path) ⇒ Scaffold
constructor
A new instance of Scaffold.
Constructor Details
#initialize(smas, path) ⇒ Scaffold
Returns a new instance of Scaffold.
3 4 5 6 |
# File 'lib/empezar/scaffold.rb', line 3 def initialize smas, path Fast.file .write path, SymbolMatrix.new(smas).to.yaml end |