Sha256: 6171279126606cf5a050d01fc4bc8a4221ac470977e8e2c40bea25ec6611fcf5
Contents?: true
Size: 286 Bytes
Versions: 3
Compression:
Stored size: 286 Bytes
Contents
# frozen_string_literal: true module Danica class Builder include DSL def build(*vars, &block) Expression.create(*vars, &block).tap do |expression| return expression.expression_block if expression.expression_block.is_a? Expressable end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
danica-2.7.7 | lib/danica/builder.rb |
danica-2.7.6 | lib/danica/builder.rb |
danica-2.7.5 | lib/danica/builder.rb |