Class: Vertigo::WithSelect
- Defined in:
- lib/vertigo/ast_vertigo_rkgen.rb
Instance Attribute Summary collapse
-
#assigned ⇒ Object
Returns the value of attribute assigned.
-
#selected_whens ⇒ Object
Returns the value of attribute selected_whens.
-
#with_expr ⇒ Object
Returns the value of attribute with_expr.
Attributes inherited from AstNode
Instance Method Summary collapse
-
#initialize(with_expr = nil, assigned = nil, selected_whens = []) ⇒ WithSelect
constructor
A new instance of WithSelect.
Methods inherited from AstNode
Constructor Details
#initialize(with_expr = nil, assigned = nil, selected_whens = []) ⇒ WithSelect
Returns a new instance of WithSelect.
309 310 311 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 309 def initialize with_expr=nil,assigned=nil,selected_whens=[] @with_expr,@assigned,@selected_whens=with_expr,assigned,selected_whens end |
Instance Attribute Details
#assigned ⇒ Object
Returns the value of attribute assigned.
308 309 310 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 308 def assigned @assigned end |
#selected_whens ⇒ Object
Returns the value of attribute selected_whens.
308 309 310 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 308 def selected_whens @selected_whens end |
#with_expr ⇒ Object
Returns the value of attribute with_expr.
308 309 310 |
# File 'lib/vertigo/ast_vertigo_rkgen.rb', line 308 def with_expr @with_expr end |