Method: Unific::Var#initialize
- Defined in:
- lib/unific.rb
#initialize(name = "new_var") ⇒ Var
Create a new variable
The optional argument provides a name for use in printing the variable
207 208 209 210 |
# File 'lib/unific.rb', line 207 def initialize name = "new_var" @name = name self.freeze end |