Class: Soapstone::Context::Linear
- Inherits:
-
Object
- Object
- Soapstone::Context::Linear
- Defined in:
- lib/soapstone/core/context/linear.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(branch_name) ⇒ Linear
constructor
A new instance of Linear.
Constructor Details
Class Method Details
.call(branch_name) ⇒ Object
4 5 6 |
# File 'lib/soapstone/core/context/linear.rb', line 4 def self.call(branch_name) new(branch_name).call end |
Instance Method Details
#call ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/soapstone/core/context/linear.rb', line 13 def call LinearInfo.new( enabled: linear_enabled?, pattern: linear_pattern, matches_pattern: matches_linear_pattern? ) end |