Class: Yop::UI
- Inherits:
-
Object
- Object
- Yop::UI
- Defined in:
- lib/yop/ui.rb
Overview
A base UI class
Direct Known Subclasses
Instance Method Summary collapse
-
#get_var(name) ⇒ Any
get a variable’s value.
Instance Method Details
#get_var(name) ⇒ Any
get a variable’s value. It’ll fail with UndefinedTemplateVariable
if the variable can’t be found.
12 13 14 |
# File 'lib/yop/ui.rb', line 12 def get_var(name) fail UndefinedTemplateVariable, name end |