Sha256: 22a2475dd06963e77089d60cf9930be28cd5450ba2166e29e713dc530c63d424
Contents?: true
Size: 497 Bytes
Versions: 15
Compression:
Stored size: 497 Bytes
Contents
# frozen_string_literal: true class Sinclair class MethodBuilder # @api private # @author darthjee # # Class responsible to build methods from # block definitions # # @see MethodDefinition::BlockDefinition class BlockMethodBuilder < Base # Builds the method # # @return (see Base#build) def build evaluating_class.define_method(name, method_block) end delegate :name, :method_block, to: :definition end end end
Version data entries
15 entries across 15 versions & 1 rubygems