Class: Qo::Branches::ElseBranch
- Defined in:
- lib/qo/branches/else_branch.rb
Overview
Constant Summary
Constants inherited from Branch
Instance Attribute Summary
Attributes inherited from Branch
Instance Method Summary collapse
-
#initialize(destructure: false) ⇒ ElseBranch
constructor
A new instance of ElseBranch.
Methods inherited from Branch
create, #create_matcher, #default?
Constructor Details
#initialize(destructure: false) ⇒ ElseBranch
Returns a new instance of ElseBranch
15 16 17 |
# File 'lib/qo/branches/else_branch.rb', line 15 def initialize(destructure: false) super(name: 'else', destructure: destructure, default: true) end |